update NOTICE and LICENSE
[nit.git] / tests / test_boxing.nit
index 6501016..8683131 100644 (file)
@@ -18,8 +18,8 @@
 # By Flop
 
 class Gene[T]
-       readable attr _a_ : T 
-       meth a: T
+       readable var _a_ : T 
+       fun a: T
        do
                return _a_
        end
@@ -27,8 +27,9 @@ class Gene[T]
        init do end
 
 end
-class GeneBool special Gene[Bool]
-       meth a=(b: Bool)
+class GeneBool
+       super Gene[Bool]
+       fun a=(b: Bool)
        do
                _a_ = b
        end