fix initialization order of attributes
authorJean Privat <jean@pryen.org>
Thu, 4 Apr 2013 15:52:39 +0000 (11:52 -0400)
committerJean Privat <jean@pryen.org>
Thu, 4 Apr 2013 15:52:39 +0000 (11:52 -0400)
commitbc859a4f6a5aa860352225fbf9c281e8fc2efe8d
tree0f4561817a6be96315011ad63f3d880bd9295b10
parent8f0feda15b8050255401b2e73a2bf17b8f8f0330
fix initialization order of attributes

Explicitly use the linearization order.

All engines where broken; quite an exploit.

Reported-by: Nathan Heu <nathan.heu@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
src/abstract_compiler.nit
src/naive_interpreter.nit
src/program.nit
tests/base_attr_init_val_inh.nit [new file with mode: 0644]
tests/sav/base_attr_init_val_inh.res [new file with mode: 0644]