Skip to content

Commit

Permalink
fix pipe keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jul 2, 2024
1 parent 2b5d5de commit 604d7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Juvix/Compiler/Concrete/Translation/FromSource.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ ifBranch = do
pipeHelper :: ParsecS r KeywordRef
pipeHelper = case sing :: SIfBranchKind k of
SBranchIfBool -> P.try (kw kwPipe <* P.notFollowedBy (kw kwElse))
SBranchIfElse -> kw kwElse
SBranchIfElse -> kw kwPipe

multiwayIf :: (Members '[ParserResultBuilder, PragmasStash, JudocStash] r) => ParsecS r (If 'Parsed)
multiwayIf = do
Expand Down

0 comments on commit 604d7c4

Please sign in to comment.