You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.
Source code formatting breaks the expression (Blah.TryCreate inputBlah), by removing the whitespace. The following complete example code shows the working version:
moduleFile1typeBlah=private| Blah ofstringstatic memberTryCreate msg =if msg =""then None
else Some(Blah msg)member__.Value=match__with| Blah msg -> msg
letinputBlah="So, I was like, Visual Studio did wat!?"letsomeBlahing=(Blah.TryCreate inputBlah).Value
After formatting, the last line has been changed and the code is broken:
moduleFile1typeBlah=private| Blah ofstringstatic memberTryCreate msg =if msg =""then None
else Some(Blah msg)member__.Value=match__with| Blah msg -> msg
letinputBlah="So, I was like, Visual Studio did wat!?"letsomeBlahing=(Blah.TryCreateinputBlah).Value
The text was updated successfully, but these errors were encountered:
Source code formatting breaks the expression
(Blah.TryCreate inputBlah)
, by removing the whitespace. The following complete example code shows the working version:After formatting, the last line has been changed and the code is broken:
The text was updated successfully, but these errors were encountered: