Skip to content

Conversation

@SwiftLover
Copy link

Hyphenated made up words

Hyphenated made up words
Copy link

Choose a reason for hiding this comment

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

Isn't typealias (one word) already a Swift keyword? I think this makes sense to leave as-is.

Copy link
Author

Choose a reason for hiding this comment

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

Apples own documentation breaks it into two words https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html

So if anything the hyphen should be removed.

@jrose-apple
Copy link
Contributor

Hm. The compiler's not really consistent with the formal docs on this already, and I'm a little iffy about "type alias" sounding like a general term instead of specifically referring to what you get from a standalone typealias. I think I'd rather leave this as is. Thanks, though.

@jrose-apple jrose-apple closed this Dec 4, 2015
dabelknap added a commit to dabelknap/swift that referenced this pull request Jan 23, 2019
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
Add 4.2 configuration to project_precommit_check
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