-
Notifications
You must be signed in to change notification settings - Fork 790
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
VS2019 crashes when an F# source contains this string: let xxx x y = (# "divvvv" x y : float #) #7164
Comments
Repro'd. This is critical to fix. cc @TIHan @brettfo @KevinRansom |
Is this a regression? |
I'm assuming VS didn't hard crash whenever IL literals were specified in source at some point, yes. |
Yea, this should not take down VS. |
It seems to crash when the IL in the string is invalid. |
So, I don't think this is a regression, or at least a recent one. Basically, the parser for the IL string will throw an exception by |
Closing as we merged the fix. |
My installation of Visual Studio 2019 (version 16.1.5) crashed after I typed in this code and refuses to open the project again:
let xxx x y = (# "divvvv" x y : float #)
Repro steps
Expected behavior
It should probably show an error that reads "Don't mess with stuff you don't understand, kid."
Actual behavior
Crashes completely.
Known workarounds
Open the file in another editor, remove that code.
The text was updated successfully, but these errors were encountered: