syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / test_accessor.nit
index c470c66..e83de63 100644 (file)
 # limitations under the License.
 
 class A
-   meth p=(i: Int)
+   fun p=(i: Int)
    do
       printn("p: ", i)
    end
-   meth q=(i: Int, j: Int)
+   fun q=(i: Int, j: Int)
    do
       printn("q: ", i, j)
    end