Skip to content

[DNM] [Builder transform] Give generated pattern bindings proper source locations #29325

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

DougGregor
Copy link
Member

ASTScopes completely skip implicit pattern bindings, so don't mark
generated ones as implicit. Instead, give them suitable source
location information.

Fixes rdar://problem/58710568.

…ations.

ASTScopes completely skip implicit pattern bindings, so don't mark
generated ones as implicit. Instead, give them suitable source
location information.

Fixes rdar://problem/58710568.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor changed the title [Builder transform] Give generated pattern bindings proper source locations [DNM] [Builder transform] Give generated pattern bindings proper source locations Jan 21, 2020
@DougGregor
Copy link
Member Author

The PR that introduced the code this fixes was reverted (by #29292). I'm keeping this around so I can pull all of the fixes together into one PR that... actually works...

@DougGregor
Copy link
Member Author

I pulled this into #29331

@DougGregor DougGregor closed this Jan 21, 2020
@DougGregor DougGregor deleted the builder-transform-source-range-fixes branch January 21, 2020 18:18
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.

1 participant