X-Git-Url: http://nitlanguage.org diff --git a/tests/error_attr_assign.nit b/tests/error_attr_assign.nit index 64afb68..8265b99 100644 --- a/tests/error_attr_assign.nit +++ b/tests/error_attr_assign.nit @@ -15,9 +15,12 @@ # limitations under the License. class A - attr _toto: Int - meth m + var toto: Int + fun m do _toto = 't' end end + +var a = new A(1) +a.m