From: Jean Privat Date: Mon, 8 Jun 2015 10:05:14 +0000 (-0400) Subject: Merge: More keep going X-Git-Tag: v0.7.6~61 X-Git-Url: http://nitlanguage.org Merge: More keep going This improve the robustness of tools when given --keep-going. Tools like nitpick, that have --keep-going by default, are more robust and collect more errors. Moreover, the compiler can now compile simple programs with instructions that fail during the typing phase (most errors like unknown method or bad type). These instructions are compiled with a run time error instead so the program is still expected to behave in an reliable way. ~~~nit print 1 fail now print 2 ~~~ ~~~sh $ nitc kg.nit --keep-going kg.nit:2,1--4: Error: method or variable `fail` unknown in `Sys`. $ ./kg 1 Runtime error: FATAL: bad statement executed. (kg.nit:1) ~~~ One usage would be to force `c_src` to compile things even if it lags behind. Pull-Request: #1440 Reviewed-by: Lucas Bajolet Reviewed-by: Alexis Laferrière Reviewed-by: Romain Chanoir --- d0279f4e1414d9a12b2d5320115dbc95b1fb88f0