We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compiler Explorer Linux Swift 5.4, Ubuntu 16.04
md5: 596268fb22d858ca3043286142edfa81
Issue Description:
This should cause a type mismatch error, but instead it crashes the typechecker:
do { var action: (inout Float) -> () // KABOOM! action = { (_: inout Int) in } }
Compiler Explorer
The text was updated successfully, but these errors were encountered:
Here is a PR #38250
Sorry, something went wrong.
Fix is on main, mdmorris (JIRA User) can you please verify on the next available main snapshot and close? Thanks
Comment by Michael D. Morris (JIRA)
This works correctly on nightly.
No branches or pull requests
Environment
Compiler Explorer Linux Swift 5.4, Ubuntu 16.04
Additional Detail from JIRA
md5: 596268fb22d858ca3043286142edfa81
Issue Description:
This should cause a type mismatch error, but instead it crashes the typechecker:
Compiler Explorer
The text was updated successfully, but these errors were encountered: