contracts: change the contract syntax
[nit.git] / tests / error_spe_param2.nit
index e607091..35680b2 100644 (file)
@@ -20,6 +20,9 @@ fun toto(i: Int) do end
 end
 
 class B
-special A
+       super A
 redef fun toto(c: Char) do end
 end
+
+var b = new B
+b.toto(true)