syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / error_attr_assign.nit
index 64afb68..ba807d1 100644 (file)
@@ -15,8 +15,8 @@
 # limitations under the License.
 
 class A
-       attr _toto: Int
-       meth m
+       var _toto: Int
+       fun m
        do
                _toto = 't'
        end