aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-07 14:33:07 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-07 14:33:07 +0200
commit05fcc94a561335a6502fc98c3737a7e851d1285a (patch)
tree6a6d0259b392842766d73011d78881a6e2cb8153 /test
parentb469c4a3f05e5e18d3650803b3323f8a72b5e076 (diff)
Fix function body let issue
Diffstat (limited to 'test')
-rw-r--r--test/TestUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TestUtils.hs b/test/TestUtils.hs
index 672f801..86b3db5 100644
--- a/test/TestUtils.hs
+++ b/test/TestUtils.hs
@@ -36,7 +36,7 @@ expectErrorL env lc =
Right (val, _) -> error $ "unexpected success: " ++ show val
ast :: ASTNode -> AST
-ast node = AST { astNode = node }
+ast node = AST { an = node }
astInteger a = ast $ ASTInteger a
astDouble a = ast $ ASTDouble a