titan-lang / titan

The Titan programming language
http://titan-lang.org
MIT License
406 stars 13 forks source link

titanc: bail out of code generation on type errors #248

Closed mascarenhas closed 6 years ago

mascarenhas commented 6 years ago

Fix for the odd behavior of titanc in Issue #245. Does not actually fix the underlying problem (missing examples/sdl_quit.titan), but will keep titanc from trying to compile files that have type errors (in this case a missing import).

hishamhm commented 6 years ago

I think it's fine in titanc for now as it does the "main pipeline" of the compilation