nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emscipten_platform: do not use `append` on String
[nit.git]
/
tests
/
test_combined_assignment.nit
diff --git
a/tests/test_combined_assignment.nit
b/tests/test_combined_assignment.nit
index
58f6da3
..
b2b10e6
100644
(file)
--- a/
tests/test_combined_assignment.nit
+++ b/
tests/test_combined_assignment.nit
@@
-15,17
+15,17
@@
# limitations under the License.
class A
# limitations under the License.
class A
- readable writable var _a: Int = 0#!alt1#
- #alt1#readable writable var _a: Object = 0
+ var a: Int = 0#alt1#
+ #alt1#var a: Object = 0
init do end
fun foo
do
init do end
fun foo
do
- _a += 2
+ a += 2
end
fun next: Int
do
end
fun next: Int
do
- _a += 1
+ a += 1
return a
end
return a
end