summaryrefslogtreecommitdiff
path: root/src/AST/Pretty.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-10-22 23:46:39 +0200
committerTom Smeding <tom@tomsmeding.com>2024-10-22 23:47:53 +0200
commit3847c6ae2d5eb581dac88629e7534aa42e143411 (patch)
tree63036604613f8ac17efd8978004c579a0a5bb39b /src/AST/Pretty.hs
parentd6d07f3bf20b4a3c0e51b4414fb0e4538176d294 (diff)
Fix interpreter bug
Diffstat (limited to 'src/AST/Pretty.hs')
-rw-r--r--src/AST/Pretty.hs2
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) $