syntax: while/loop exit type evolution
authorJean Privat <jean@pryen.org>
Tue, 12 Jan 2010 20:31:56 +0000 (15:31 -0500)
committerJean Privat <jean@pryen.org>
Thu, 14 Jan 2010 16:43:42 +0000 (11:43 -0500)
commit1dbbbc5fe1b539ecd13dfd0ed7cf9d187b45a912
tree7b10453904cdbfcffd785d9cf8e691df71a3367e
parent58623cea4287a27fe98c7dd6cbb6fbf65db2c366
syntax: while/loop exit type evolution

Implementation requires that variable contexts on breaks are collected
and merged.

Signed-off-by: Jean Privat <jean@pryen.org>
src/syntax/control_flow.nit
src/syntax/escape.nit
src/syntax/typing.nit
tests/base_var_type_evolution_null4.nit [new file with mode: 0644]
tests/sav/base_isa_cast2_alt8.sav
tests/sav/base_var_type_evolution_null4.sav [new file with mode: 0644]
tests/sav/base_var_type_evolution_null4_alt1.sav [new file with mode: 0644]
tests/sav/base_var_type_evolution_null4_alt2.sav [new file with mode: 0644]
tests/sav/base_var_type_evolution_null4_alt3.sav [new file with mode: 0644]