nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: remove remaining old-style accessors
[nit.git]
/
tests
/
base_attr_nullable.nit
diff --git
a/tests/base_attr_nullable.nit
b/tests/base_attr_nullable.nit
index
3e2c6f0
..
08ad503
100644
(file)
--- a/
tests/base_attr_nullable.nit
+++ b/
tests/base_attr_nullable.nit
@@
-25,18
+25,18
@@
enum Int
end
class Integer
end
class Integer
- readable writable var _val: Int
+ var _val: Int
init(val: Int) do _val = val
fun output do _val.output
end
class Foo
var _a1: Integer
init(val: Int) do _val = val
fun output do _val.output
end
class Foo
var _a1: Integer
- readable var _a2: Integer
+ var _a2: Integer
fun run
do
_a1.output
fun run
do
_a1.output
- a2.output
+ _a2.output
end
fun run_other(o: Foo)
end
fun run_other(o: Foo)
@@
-50,7
+50,7
@@
class Foo
#alt1#run
_a1 = new Integer(1)
#alt2#run
#alt1#run
_a1 = new Integer(1)
#alt2#run
- _a2 = new Integer(_a1.val + 1)
+ _a2 = new Integer(_a1._val + 1)
end
init nop do end
end
init nop do end