Added some code for future use to print stack trace

parser.sync-conflict-20210405-185821-O3W7KWN
Tristan B. V. Kildaire 2021-04-01 14:52:15 +02:00
parent 5a541bdb21
commit 49b9ac29d1
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ void beginCompilation(string[] sourceFiles)
catch(CollidingNameException e) catch(CollidingNameException e)
{ {
gprintln(e.msg, DebugType.ERROR); gprintln(e.msg, DebugType.ERROR);
//gprintln("Stack trace:\n"~to!(string)(e.info));
} }
catch(TypeCheckerException e) catch(TypeCheckerException e)
{ {