Format errors nicely

parser.sync-conflict-20210405-185821-O3W7KWN
Tristan B. V. Kildaire 2021-04-01 14:46:02 +02:00
parent df6433bae2
commit 5a541bdb21
1 changed files with 10 additions and 10 deletions

View File

@ -48,18 +48,18 @@ void beginCompilation(string[] sourceFiles)
Module modulle = parser.parse(); Module modulle = parser.parse();
gprintln("Type checking and symbol resolution..."); gprintln("Type checking and symbol resolution...");
// try try
// { {
TypeChecker typeChecker = new TypeChecker(modulle); TypeChecker typeChecker = new TypeChecker(modulle);
// } }
// catch(CollidingNameException e) catch(CollidingNameException e)
// { {
gprintln(e.msg, DebugType.ERROR);
}
catch(TypeCheckerException e)
{
// } }
// catch(TypeCheckerException e)
// {
// }
// typeChecker.check(); // typeChecker.check();
} }