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
Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2) Target: x86_64-apple-darwin17.6.0
Apple Swift version 4.2-dev (LLVM da1c9a3ae4, Clang a0e59b03e6, Swift e325e32) Target: x86_64-apple-darwin17.6.0
md5: 2fec481b892614e8c266431c0c02b81a
Issue Description:
The following compiles in Swift 4.1 and on master, but doesn't compile in the latest 4.2 snapshot:
var x = 0 func foo(_ ptr: UnsafeMutableRawPointer) { switch ptr { case &x: // error in 4.2: Use of extraneous '&' break default: break } }
The text was updated successfully, but these errors were encountered:
Huh, weird it's now working in the latest 4.2 snaphot.... never mind then!
Sorry, something went wrong.
No branches or pull requests
Environment
Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2)
Target: x86_64-apple-darwin17.6.0
Apple Swift version 4.2-dev (LLVM da1c9a3ae4, Clang a0e59b03e6, Swift e325e32)
Target: x86_64-apple-darwin17.6.0
Additional Detail from JIRA
md5: 2fec481b892614e8c266431c0c02b81a
Issue Description:
The following compiles in Swift 4.1 and on master, but doesn't compile in the latest 4.2 snapshot:
The text was updated successfully, but these errors were encountered: