Skip to content

Commit

Permalink
ormolu
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jul 5, 2023
1 parent 42dbca2 commit dc05562
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Juvix/Compiler/Concrete/Language.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1689,8 +1689,9 @@ instance HasLoc (SigArg s) where
Irrelevant (l, r) = _sigArgDelims

instance SingI s => HasLoc (NewFunctionClause s) where
getLoc NewFunctionClause {..} = getLoc _clausenPipeKw
<> getLocExpressionType _clausenBody
getLoc NewFunctionClause {..} =
getLoc _clausenPipeKw
<> getLocExpressionType _clausenBody

instance SingI s => HasLoc (NewTypeSignatureBody s) where
getLoc = \case
Expand Down
2 changes: 1 addition & 1 deletion test/Scope/Positive.hs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ tests =
PosTest
"New function syntax"
$(mkRelDir ".")
$(mkRelFile "Syntax.juvix")
$(mkRelFile "Syntax.juvix"),
PosTest
"Format pragma"
$(mkRelDir ".")
Expand Down

0 comments on commit dc05562

Please sign in to comment.