X-Git-Url: http://nitlanguage.org?ds=sidebyside diff --git a/tests/rterror_nilcall_undead.nit b/tests/rterror_nilcall_undead.nit index 41acebd..f2a11bf 100644 --- a/tests/rterror_nilcall_undead.nit +++ b/tests/rterror_nilcall_undead.nit @@ -17,16 +17,16 @@ import kernel class A - meth foo + fun foo do 1.output end - meth bar: Int + fun bar: Int do return 2 end end -var a: A +var a: A = null a.bar.output a.foo