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
Fantomas was able to format the code but the result appears to be invalid F# code.
Please openan issue.
Formatted result:letvalue=// TODO: some commentletv=2+3
v
letk=-1
Problem description
isValidFSharpCode fails if there's a comment after a let binding which doesn't immediately return a value.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Hello Asti, many thanks for reporting this.
I'm afraid it is related to the refactoring in #1230.
As it immediately rang a bell, I've added a fix in #1285.
Nonetheless, I appreciate you ticking off the box I or my company would be willing to help fix this..
🚀
Issue created from fantomas-online
Code
Error
Problem description
isValidFSharpCode
fails if there's a comment after a let binding which doesn't immediately return a value.Extra information
Options
Fantomas Master at 12/11/2020 14:28:39 - 5a66ce5
Default Fantomas configuration
The text was updated successfully, but these errors were encountered: