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
[SR-8768] Protect against version mismatch of SwiftSyntax with swift compiler #428
Comments
@swift-ci create |
Couldn't reproduce with current swift (master) and swift-syntax (master). |
This is with Swift 4.2 and both the `master` and `0.40200.0` branches of SwiftSyntax. |
Hmm… I think this is user error from how I was building SwiftSyntax. I was building against my checkout of Swift, which is `master`, when I thought I was building against 4.2. But it does seem like this still shouldn't crash. If the output from |
This should have been fixed a long time a ago when we started verifying the syntax node hash between the parser library and the SwiftSyntax library. |
Environment
Xcode 10.0.0 beta 6
Apple Swift version 4.2 (swiftlang-1000.0.36 clang-1000.10.44)
Target: x86_64-apple-darwin17.7.0
SwiftSyntax 26b6ef6
Additional Detail from JIRA
md5: 3399c662150bbbca96a7a1b96f0ead6a
Issue Description:
I get a crash running a visitor over this Swift code:
Here's the top of the backtrace:
The text was updated successfully, but these errors were encountered: