update NOTICE and LICENSE
[nit.git] / tests / base_nullable.nit
index 12c36b9..fe19a24 100644 (file)
 import kernel
 
 class A
-       attr _i: Int
+       var _i: Int
        init (i: Int) do _i = i
-       redef meth output do _i.output
+       redef fun output do _i.output
 end
 
-var a: A
-var na: nullable A
-var o: Object
-var no: nullable Object
+
+
+
+
 
 var a: A = new A(1)
 var na: nullable A = new A(2)