syntax: add PType::is_typed
authorJean Privat <jean@pryen.org>
Sat, 4 Jul 2009 02:19:31 +0000 (22:19 -0400)
committerJean Privat <jean@pryen.org>
Sat, 4 Jul 2009 02:19:31 +0000 (22:19 -0400)
commit767f9fc3926fe09f2cfaf98084a5cf920a0be854
treea7f01966617c0c49edb12cfcbc3f01e1766c5d35
parent46526976f82a3f1a76d34b063992ffe6c8a57aca
syntax: add PType::is_typed

Add tests to ensure that type errors do not crash the compiler.

Signed-off-by: Jean Privat <jean@pryen.org>
src/syntax/typing.nit
tests/error_type_not_ok5.nit [new file with mode: 0644]
tests/sav/error_expr_not_ok_alt2.sav [new file with mode: 0644]
tests/sav/error_type_not_ok5.sav [new file with mode: 0644]