Skip to content

Commit

Permalink
Merge pull request fsprojects#745 from panesofglass/panesofglass-patch-1
Browse files Browse the repository at this point in the history
Fix Type for SynMatchClause.Clause in visitSynMatchClause
  • Loading branch information
nojaf authored Apr 14, 2020
2 parents d866b2b + 0bb413e commit fd58841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fantomas/AstTransformer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ module private Ast =
and visitSynMatchClause(mc: SynMatchClause): Node =
match mc with
| SynMatchClause.Clause(pat,e1,e2,range,_) ->
{Type = "RecordField"
{Type = "SynMatchClause.Clause"
Range = r range
Properties = p []
FsAstNode = mc
Expand Down Expand Up @@ -1703,4 +1703,4 @@ let sigAstToNode (ast: SynModuleOrNamespaceSig list) : Node =
Range = None
Properties = Map.empty
FsAstNode = ast
Childs = children}
Childs = children}

0 comments on commit fd58841

Please sign in to comment.