compile: implicit isset for attribute read access
authorJean Privat <jean@pryen.org>
Wed, 24 Jun 2009 08:57:45 +0000 (04:57 -0400)
committerJean Privat <jean@pryen.org>
Wed, 24 Jun 2009 20:28:31 +0000 (16:28 -0400)
commitae2a46e0b484cae327f8a0d2842a8154ad38631e
tree5f03368a80122530a30d8d41bdabf43f4ea2b500
parent8bc4ba5d086339659465d5e37fe2a7e903384579
compile: implicit isset for attribute read access

Activated only if the program was compiled using -W and only display a
warning at run-time.
Therefore the new test base_attr_nullable.nit makes more sense with -W.

Signed-off-by: Jean Privat <jean@pryen.org>
src/compiling/compiling_methods.nit
tests/base_attr_nullable.nit [new file with mode: 0644]
tests/sav/base_attr_nullable.sav [new file with mode: 0644]
tests/sav/base_attr_nullable_alt1.sav [new file with mode: 0644]
tests/sav/base_attr_nullable_alt2.sav [new file with mode: 0644]
tests/sav/base_attr_nullable_alt3.sav [new file with mode: 0644]
tests/sav/base_attr_nullable_alt4.sav [new file with mode: 0644]
tests/sav/base_attr_nullable_alt5.sav [new file with mode: 0644]