syntax: add some missing PExpr::is_typed.
authorJean Privat <jean@pryen.org>
Fri, 3 Jul 2009 21:38:57 +0000 (17:38 -0400)
committerJean Privat <jean@pryen.org>
Sat, 4 Jul 2009 00:56:31 +0000 (20:56 -0400)
commit46526976f82a3f1a76d34b063992ffe6c8a57aca
tree85d41f71fcd19f82c2e5c281d08ce5b7d6480e70
parent202acea3154f4314323b27cead1ab1d33ab7b429
syntax: add some missing PExpr::is_typed.

Add a quite complete test to ensure that expression errors do not crash
the compiler.

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