Skip to content

[Parse] Parse opaque result types in closure signature position #34282

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 1 commit into from
Oct 12, 2020

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Oct 12, 2020

e.g.

let _ = { () -> some Collection in
  ...
}

canParseType() didn't use to handle some.

Also, use isContexttualKeyword("some") for checking some keyword.

https://bugs.swift.org/browse/SR-10769

'canParseType()' didn't use to handle 'some'.

Also, use 'isContexttualKeyword("some")' for checking 'some' keyword.

https://bugs.swift.org/browse/SR-10769
@rintaro
Copy link
Member Author

rintaro commented Oct 12, 2020

@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Oct 12, 2020

@jckarter I'm just fixing Parser. Do you have concern about this in type checker?

@jckarter
Copy link
Contributor

Looks good to me. Thanks @rintaro!

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.

2 participants