Skip to content

Commit

Permalink
fix pattern :: comment order
Browse files Browse the repository at this point in the history
  • Loading branch information
lue-bird committed Oct 31, 2024
1 parent 84a6b54 commit 4d5bab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elm/Parser/Patterns.elm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ maybeComposedWith =
(ParserFast.symbolFollowedBy "::"
(ParserFast.map2
(\commentsAfterCons patternResult ->
{ comments = patternResult.comments |> Rope.prependTo commentsAfterCons
{ comments = commentsAfterCons |> Rope.prependTo patternResult.comments
, syntax = PatternComposedWithCons patternResult.syntax
}
)
Expand Down

0 comments on commit 4d5bab1

Please sign in to comment.