Skip to content
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

Re-apply "[Parser] Decouple the parser from AST creation (part 2)" #26883

Merged

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Aug 27, 2019

With fixes for problems found after the original merging.

  • Fix round-trip failure for incomplete generic argument clause. e.g. Generic<T (found by stress tester)
  • Fix wrong base SourceLoc for FunctionTypeRepr (I should have included leading trivia). (found by @davidungar)

When type parsing inside generic argument fails, '<' must be before
other parsed arguments.
Base location for function type should include leading trivia.
@rintaro rintaro force-pushed the revert-revert-26478-gsoc-2019-parser-types branch from b0d4166 to 5103789 Compare August 27, 2019 22:13
@rintaro
Copy link
Member Author

rintaro commented Aug 27, 2019

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 5103789

@rintaro
Copy link
Member Author

rintaro commented Aug 27, 2019

@swift-ci Please test macOS

@rintaro rintaro merged commit faaa3a8 into swiftlang:master Aug 28, 2019
rintaro added a commit to rintaro/swift that referenced this pull request Oct 14, 2019
…-26478-gsoc-2019-parser-types"

This reverts commit faaa3a8, reversing
changes made to 62f947d.
rintaro added a commit to rintaro/swift that referenced this pull request Oct 14, 2019
…t-revert-26478-gsoc-2019-parser-types""

This reverts commit 570ed93.
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