Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / error_spe_proc.nit
index d946e44..17949f3 100644 (file)
 # limitations under the License.
 
 class A
-meth toto do end
+fun toto do end
 end
 
 class B
-special A
-redef meth toto: Int do return 2end
+       super A
+redef fun toto: Int do return 2 end
 end
+
+var b = new B
+b.toto.output