From 781e2803e9cebef1c0282b9a73ebdafab055fc52 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 7 Sep 2022 07:30:46 +0100 Subject: This is missing --- src/Compiler.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Compiler.hs') diff --git a/src/Compiler.hs b/src/Compiler.hs index 2a836ee..f895613 100644 --- a/src/Compiler.hs +++ b/src/Compiler.hs @@ -128,6 +128,7 @@ compile x = do (A.BinOp A.Assign pos _ b) -> addError $ Error InvalidTarget "invalid assignment target" pos (A.BinOp op pos a b) -> + -- TODO: types and invalid operators typecheckBinOp a b pos (A.Func ident params ret body priv anon pos) -> do -- current env -- cgit v1.2.3