nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ci: tests for macOS on Gitlab CI
[nit.git]
/
tests
/
error_attr_2def.nit
diff --git
a/tests/error_attr_2def.nit
b/tests/error_attr_2def.nit
index
75efb44
..
d7d7122
100644
(file)
--- a/
tests/error_attr_2def.nit
+++ b/
tests/error_attr_2def.nit
@@
-15,6
+15,9
@@
# limitations under the License.
class A
# limitations under the License.
class A
- attr _toto: Int
- attr _toto: Object
+ var toto: Int
+ var toto: Object
end
end
+
+var a = new A
+a.toto.output