-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Fix compiler directive on first line & compound directives #286
Fix compiler directive on first line & compound directives #286
Conversation
@@ -450,7 +450,8 @@ let rec shrinkSynExpr = function | |||
| SynExpr.MatchLambda(_, _, clauses, _, _) -> | |||
seq { yield! Seq.collect collectSynMatchClause clauses } | |||
| SynExpr.TryWith(expr, _, clauses, _, _, _, _) | |||
| SynExpr.Match(_, expr, clauses, _, _) -> | |||
| SynExpr.Match(_, expr, clauses, _, _) | |||
| SynExpr.MatchBang(_, expr, clauses, _, _) -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also fix incomplete pattern match by adding a branch for match!
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add this in another PR? Adding the pattern match does not mean that match!
is supported right?
…fix-if-dicective-on-first-line
…asily-kirichenko/fantomas into fix-if-dicective-on-first-line
removed MatchBang
The bug was in that
was formatted as
This also fixes #280