update NOTICE and LICENSE
[nit.git] / tests / test_multiconstraint_inh.nit
index d924a05..a3ec367 100644 (file)
@@ -20,23 +20,23 @@ class A
 end
 
 class I[F]
-   meth foo do 1.output end
+   fun foo do 1.output end
 end
 
 class J
-special I[A]
-   meth bar do 2.output end
+       super I[A]
+   fun bar do 2.output end
 
        init do end
 end
 
 class G[E]
-   meth baz(e: I[E]) do e.foo end
+   fun baz(e: I[E]) do e.foo end
 end
 
 class H[F]
-special G[A]
-   redef meth baz(e: J) do e.bar end
+       super G[A]
+   redef fun baz(e: J) do e.bar end
 
    init do end
 end