diff --git a/source/tlang/compiler/compiler.d b/source/tlang/compiler/compiler.d index 4b77f13..d9682a6 100644 --- a/source/tlang/compiler/compiler.d +++ b/source/tlang/compiler/compiler.d @@ -48,18 +48,18 @@ void beginCompilation(string[] sourceFiles) Module modulle = parser.parse(); gprintln("Type checking and symbol resolution..."); - // try - // { + try + { TypeChecker typeChecker = new TypeChecker(modulle); - // } - // catch(CollidingNameException e) - // { + } + catch(CollidingNameException e) + { + gprintln(e.msg, DebugType.ERROR); + } + catch(TypeCheckerException e) + { - // } - // catch(TypeCheckerException e) - // { - - // } + } // typeChecker.check(); }