Skip to content

[4.2][AST] Initialize Target of break/continue with nullptr #16083

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

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Apr 21, 2018

Cherry-pick of #16055 reviewed by @jrose-apple
Since this wasn't initialized in constructor, it's never initialized in error case. This change doesn't affect normal compilation because it doesn't reach SILGen (the only user) due to typecheck error. However, IDE refactoring uses this regardless of the error.

rdar://problem/33972653

Otherwise, it's never initialized. This doesn't affect normal compilation
because it doensn't reach only-user SILGen due to typecheck error. However,
IDE refactoring uses this regardless of the error.

rdar://problem/33972653
@rintaro rintaro changed the title [AST] Initialize Target of break/continue with nullptr [4.2][AST] Initialize Target of break/continue with nullptr Apr 21, 2018
@rintaro
Copy link
Member Author

rintaro commented Apr 21, 2018

@swift-ci Please test

@rintaro rintaro merged commit 038b850 into swiftlang:swift-4.2-branch Apr 21, 2018
@rintaro rintaro deleted the 4.2-ast-breakcontinue-target branch April 21, 2018 04:47
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