Merge pull request #123 from avh4/fix-merge-conflict

Fix merge conflict with https://github.com/gren-lang/compiler/pull/121
This commit is contained in:
Robin Heggelund Hansen 2022-09-09 11:22:20 +02:00 committed by GitHub
commit 7d07060bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -682,10 +682,10 @@ patternParensProtectSpaces = \case
formatPattern :: Src.Pattern_ -> PatternBlock
formatPattern = \case
Src.PAnything ->
Src.PAnything name ->
NoPatternParens $
Block.line $
Block.char7 '_'
Block.char7 '_' <> utf8 name
Src.PVar name ->
NoPatternParens $
Block.line $