compile: Check correct object construction
authorJean Privat <jean@pryen.org>
Tue, 16 Jun 2009 13:45:23 +0000 (09:45 -0400)
committerJean Privat <jean@pryen.org>
Wed, 24 Jun 2009 20:26:25 +0000 (16:26 -0400)
commitec4b6a3650d11c1181f48cc26a89c8f7e3da6022
tree07d3018368f0f51da785f5393d0f06bd93b565e2
parentb201f0f644289f4608749638f312e2ac85da5ee6
compile: Check correct object construction

Check that non nullable attributes are set at the end of the 'new'.
Activated only if the program was compiled using -W and only display a
warning at run-time.

Signed-off-by: Jean Privat <jean@pryen.org>
src/compiling/compiling_global.nit