Skip to content

Use The Location of the Pattern Binding in Codable Fixit #34294

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 13, 2020

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Oct 13, 2020

The code here used to use the location of the nearest place to insert
attributes, which makes no sense. Use the pattern binding's location
instead to ensure that we actually replace the 'let' part of the
pattern every time.

rdar://69971194

The code here used to use the location of the nearest place to insert
attributes, which makes no sense. Use the pattern binding's location
instead to ensure that we actually replace the 'let' part of the
pattern every time.

rdar://69971194
@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 13, 2020

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit a253c40 into swiftlang:main Oct 13, 2020
@CodaFi CodaFi deleted the patterns-as-compiler-bugs branch October 14, 2020 01:15
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