nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git]
/
tests
/
test_attr_long.nit
diff --git
a/tests/test_attr_long.nit
b/tests/test_attr_long.nit
index
b29a1aa
..
1444e23
100644
(file)
--- a/
tests/test_attr_long.nit
+++ b/
tests/test_attr_long.nit
@@
-15,14
+15,14
@@
# limitations under the License.
class A
# limitations under the License.
class A
- attr _a_: Int = 0
+ var _a_: Int = 0
- meth a: Int
+ fun a: Int
do
return _a_ * 10
end
do
return _a_ * 10
end
- meth a=(a: Int)
+ fun a=(a: Int)
do
_a_ = a / 10
end
do
_a_ = a / 10
end