Last active
December 19, 2015 08:29
-
-
Save mavnn/5926078 to your computer and use it in GitHub Desktop.
Fantomas test cases - notice brackets around the tuple deconstruction. The error only seems to occur once the tuple splits between two lines.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let (assemblyReferencesToDelete, frameworkReferencesToDelete, contentFilesToDelete, buildFilesToDelete) = | |
let assemblyReferencesToDelete, frameworkReferencesToDelete, contentFilesToDelete, buildFilesToDelete = | |
1, 2, 3, 4 | |
1, 2, 3, 4 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let assemblyReferencesToDelete, frameworkReferencesToDelete, contentFilesToDelete, buildFilesToDelete = | |
let assemblyReferencesToDelete, frameworkReferencesToDelete, contentFilesToDelete, buildFilesToDelete = | |
1, 2, 3, 4 | |
1, 2, 3, 4 | |
That is the only difference; I've tried to simplify the test cases above. The first example (with parentheses) works fine, but the reformatting of the second results in a incomplete let block error.
Thanks for having a look!
What version of F# are you using? Both versions worked fine for me in VS2012
This works fine for me in VS2012 as well.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you explain what is the error here? I don't see any difference while formatting the expressions above (except the parentheses around the let-bound tuple).