Created
January 25, 2021 04:33
-
-
Save knocte/8b812a0996abad7d80a0262cb44b9b24 to your computer and use it in GitHub Desktop.
Parenthesis removal #2 (https://github.com/fsprojects/fantomas/issues/684)
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
Code: | |
``` | |
match foo with | |
| Bar (baz) -> () | |
| _ -> | |
failwith "xxx" | |
``` | |
Current results: | |
``` | |
match foo with | |
| Bar (baz) -> () | |
| _ -> failwith "xxx" | |
``` | |
Expected results: | |
``` | |
match foo with | |
| Bar baz -> () | |
| _ -> failwith "xxx" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment