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