syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / bench_fib.nit
index a67cdc5..69dc371 100644 (file)
@@ -17,7 +17,7 @@
 # The fibbonacci program
 
 redef class Int
-       meth fib: Int
+       fun fib: Int
        # Unefficient recursive implementation
        do
                if self <= 0 then