diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-10-22 23:46:39 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-10-22 23:47:53 +0200 |
commit | 3847c6ae2d5eb581dac88629e7534aa42e143411 (patch) | |
tree | 63036604613f8ac17efd8978004c579a0a5bb39b /src/AST/Pretty.hs | |
parent | d6d07f3bf20b4a3c0e51b4414fb0e4538176d294 (diff) |
Fix interpreter bug
Diffstat (limited to 'src/AST/Pretty.hs')
-rw-r--r-- | src/AST/Pretty.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AST/Pretty.hs b/src/AST/Pretty.hs index d811912..b50506a 100644 --- a/src/AST/Pretty.hs +++ b/src/AST/Pretty.hs @@ -159,7 +159,7 @@ ppExpr' d val = \case b' <- ppExpr' 9 val b return $ showParen (d > 8) $ a' . showString " .! " . b' - EIdx _ _ a b -> do + EIdx _ a b -> do a' <- ppExpr' 9 val a b' <- ppExpr' 10 val b return $ showParen (d > 8) $ |