Skip to content

[Parse] Fix a crash when there is nothing after the prefix/postfix operator colon #60939

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

theblixguy
Copy link
Collaborator

Resolves #60932

@theblixguy theblixguy requested a review from rintaro September 2, 2022 22:25
@theblixguy
Copy link
Collaborator Author

@swift-ci please smoke test

Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you choose to keep the new test file, may I ask that you stick to the issue-xxxxx format? This is the one I am planning to use once I come around to rename files.

@theblixguy theblixguy force-pushed the parser-crash-operator-colon-empty branch from 6113266 to 64f6afa Compare September 5, 2022 21:07
@theblixguy
Copy link
Collaborator Author

@swift-ci please smoke test

Copy link
Member

@rintaro rintaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@theblixguy theblixguy merged commit 8e81a80 into swiftlang:main Sep 6, 2022
@theblixguy theblixguy deleted the parser-crash-operator-colon-empty branch September 6, 2022 20:01
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.

"postfix operator ++:" -> Segmentation fault in compiler
3 participants