Added setup files.
[nit.git] / tests / base_attr_nullable_int.nit
index d71916e..063dd14 100644 (file)
@@ -19,18 +19,18 @@ import end
 interface Object
 end
 
-universal Int
+enum Int
        fun output is intern
        fun +(o: Int): Int is intern
 end
 
 class Foo
        var _a1: Int
-       readable var _a2: Int
+       var _a2: Int
        fun run
        do
                _a1.output
-               a2.output
+               _a2.output
        end
 
        fun run_other(o: Foo)
@@ -51,7 +51,7 @@ class Foo
 end
 
 class Bar
-special Foo
+       super Foo
        var _a3: Int
        redef fun run
        do