update NOTICE and LICENSE
[nit.git] / tests / base_virtual_type_self.nit
index 7d2633c..964fc39 100644 (file)
@@ -28,7 +28,7 @@ class A[E]
 end
 
 class B
-#alt3#special A[Int]
+       #alt3#super A[Int]
        type U: Int
 
        fun test
@@ -39,7 +39,7 @@ class B
                #alt4#var a = new A[A[Int]]
                #alt5#var a = new A[A[U]]
 
-               var f: Float
+               var f: Float = 1.0
 
                a.foo(f)
                f = a.foo2