nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: update base_attr_abstract[12].nit
[nit.git]
/
tests
/
error_init_auto.nit
diff --git
a/tests/error_init_auto.nit
b/tests/error_init_auto.nit
index
67eff9b
..
4e39ca8
100644
(file)
--- a/
tests/error_init_auto.nit
+++ b/
tests/error_init_auto.nit
@@
-17,16
+17,16
@@
import kernel
class A
import kernel
class A
- readable var _x: Int #alt1#
- #alt1#readable var _x: Int = 2
- readable var _y: Int = -2 #alt2#
- #alt2#readable var _y: Int
- #alt3#init (xx: Int) do _x = xx
- #alt4#init foo(xx: Int) do _x = xx
+ var x: Int #alt1#
+ #alt1#var x: Int = 2
+ var y: Int = -2 #alt2#
+ #alt2#var y: Int
+ #alt3#init (xx: Int) do x = xx
+ #alt4#init foo(xx: Int) do x = xx
fun work
do
fun work
do
- _x.output
- _y.output
+ x.output
+ y.output
end
end
end
end