Skip to content

Commit

Permalink
Update renamed active pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Apr 21, 2021
1 parent 2dbf6af commit c69dc06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fantomas/CodePrinter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1786,8 +1786,8 @@ and genExpr astContext synExpr ctx =
let long =
let functionName =
match e with
| LongIdentPieces lids when (List.moreThanOne lids) -> genFunctionNameWithMultilineLids id lids
| TypeApp (LongIdentPieces lids, ts) when (List.moreThanOne lids) ->
| LongIdentPiecesExpr lids when (List.moreThanOne lids) -> genFunctionNameWithMultilineLids id lids
| TypeApp (LongIdentPiecesExpr lids, ts) when (List.moreThanOne lids) ->
genFunctionNameWithMultilineLids (genGenericTypeParameters astContext ts) lids
| _ -> genExpr astContext e

Expand Down

0 comments on commit c69dc06

Please sign in to comment.