Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / error_attr_2def.nit
index 75efb44..d7d7122 100644 (file)
@@ -15,6 +15,9 @@
 # limitations under the License.
 
 class A
-       attr _toto: Int
-       attr _toto: Object
+       var toto: Int
+       var toto: Object
 end
+
+var a = new A
+a.toto.output