Skip to content

[SR-7501] inlinable misspelling #16667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 17, 2018
Merged

[SR-7501] inlinable misspelling #16667

merged 3 commits into from
May 17, 2018

Conversation

wickwirew
Copy link
Contributor

Adds a nice error for when @inlinable is misspelled as @inlineable, and suggests the correct spelling.

Resolves SR-7501.

@slavapestov
Copy link
Contributor

@swift-ci Please smoke test

@slavapestov slavapestov merged commit 972fac5 into swiftlang:master May 17, 2018
@@ -1321,6 +1321,8 @@ ERROR(attr_renamed, none,
"'@%0' has been renamed to '@%1'", (StringRef, StringRef))
WARNING(attr_renamed_warning, none,
"'@%0' has been renamed to '@%1'", (StringRef, StringRef))
ERROR(attr_name_close_match, none,
"No attribute named '@%0', did you mean '@%1'?", (StringRef, StringRef))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late comment, but this should be lowercase! And to be nitpicky, the comma should be a semicolon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad! I'll submit a new PR with those changes tonight.

jrose-apple pushed a commit to jrose-apple/swift that referenced this pull request May 18, 2018
…isspelling

[SR-7501] inlinable misspelling

(cherry picked from commit 972fac5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants