syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_closure_default4.nit
index 494cebb..8f12ae9 100644 (file)
@@ -17,7 +17,7 @@
 import kernel
 
 class A
-       meth foo
+       fun foo
                with bar(i: Int): Int do
                        #alt1# return
                        #alt2# return -1