nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: intro dynamic resolution support
[nit.git]
/
tests
/
base_combined_assignment.nit
diff --git
a/tests/base_combined_assignment.nit
b/tests/base_combined_assignment.nit
index
756d60d
..
942c8ca
100644
(file)
--- a/
tests/base_combined_assignment.nit
+++ b/
tests/base_combined_assignment.nit
@@
-16,7
+16,19
@@
import kernel
-var i = 1
+var i = 1#alt1#
#alt1#var i: Object = 1
i += 2
i.output
+i -= 1
+i.output
+i *= 3
+i.output
+i /= 2
+i.output
+i %= 5
+i.output
+i <<= 3
+i.output
+i >>= 2
+i.output