[SR-11581] Bad error message when @objc appears after Access Control modifier #53986
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
parser
Area → compiler: The legacy C++ parser
Attachment: Download
Additional Detail from JIRA
md5: 34ebce87c97e4de32d090fde1c322d78
Issue Description:
This causes Xcode to show this useless message:
Ideally, the order between "private" and "@objc" shouldn't matter. If it matters, Xcode should Fix it automatically by swapping the order.
The text was updated successfully, but these errors were encountered: