-
Notifications
You must be signed in to change notification settings - Fork 202
Reference for integer generic parameters [SE-0452] #383
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
Conversation
Several places in the grammar allow an optional minus sign followed by an integer literal, which this simplifies. However, there is some argument for keeping the minus sign separate, because it isn't part of the literal. This is a "signed integer literal" in that it's an integer literal that can have a minus sign, not a literal of a signed integer.
Azoy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
colleenish
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass edits. A handful of fixes; let me know if you'd like to discuss anything.
Changes from <rdar://162313224>. Co-authored-by: Colleen Toporek <colleen_toporek@apple.com>
colleenish
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. No additional changes from me.
Fixes: rdar://149983186