update NOTICE and LICENSE
[nit.git] / tests / error_spe_ret.nit
index 46375ff..42c1848 100644 (file)
 # limitations under the License.
 
 class A
-meth toto: Int do return 1 end
+fun toto: Int do return 1 end
 end
 
 class B
-special A
-redef meth toto: Char do return 'a' end
+       super A
+redef fun toto: Char do return 'a' end
 end