diff options
Diffstat (limited to 'tuplr.cpp')
-rw-r--r-- | tuplr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -101,9 +101,9 @@ void initLang(PEnv& penv, TEnv& tenv) { // Types - tenv.def(penv.sym("Bool"), new AType(penv.sym("Bool"), Cursor())); - tenv.def(penv.sym("Int"), new AType(penv.sym("Int"), Cursor())); - tenv.def(penv.sym("Float"), new AType(penv.sym("Float"), Cursor())); + tenv.def(penv.sym("Bool"), new AType(penv.sym("Bool"))); + tenv.def(penv.sym("Int"), new AType(penv.sym("Int"))); + tenv.def(penv.sym("Float"), new AType(penv.sym("Float"))); // Literals static bool trueVal = true; |