Merge: Correct behavior of attribute reading in nitvm
authorJean Privat <jean@pryen.org>
Wed, 17 Sep 2014 16:05:42 +0000 (12:05 -0400)
committerJean Privat <jean@pryen.org>
Wed, 17 Sep 2014 16:05:42 +0000 (12:05 -0400)
This (small) PR allows the nitvm to pass more tests related to attributes reading.

The first commit introduces a new type and Instance which represent the initial values inside attributes.
In the second commit, the vm now throw the expected error when reading an uninitialized attribute.
The last commit implements ```isset``` expressions in the vm.

So, all tests base_attr*.nit are now corrects in the vm.

Pull-Request: #748
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


No differences found