-
Notifications
You must be signed in to change notification settings - Fork 440
Update lifetime dependence syntax #2564
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
@swift-ci test |
Please test with following pull request: @swift-ci Please test |
1 similar comment
Please test with following pull request: @swift-ci Please test |
6419bb5
to
a22fb3d
Compare
Please test with following pull request: @swift-ci Please test |
@swift-ci smoke test windows platform |
SPECIFIER_PARSING: while canHaveParameterSpecifier { | ||
if let (_, specifierHandle) = self.at(anyIn: SimpleTypeSpecifierSyntax.SpecifierOptions.self) { | ||
specifiers.append(parseSimpleTypeSpecifier(specifierHandle: specifierHandle)) | ||
} else if self.at(TokenSpec(.dependsOn)) { |
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.
Can be simplified slightly to
} else if self.at(.keyword(.dependsOn)) {
Update lifetime dependence syntax
Pitch - swiftlang/swift-evolution#2305
Update spellings to:
dependsOn(paramName...) and dependsOn(scoped paramName...) syntax