nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add default values for some primitive type attributes.
[nit.git]
/
tests
/
test_combined_assignment.nit
diff --git
a/tests/test_combined_assignment.nit
b/tests/test_combined_assignment.nit
index
9c2408b
..
7371a8a
100644
(file)
--- a/
tests/test_combined_assignment.nit
+++ b/
tests/test_combined_assignment.nit
@@
-15,8
+15,8
@@
# limitations under the License.
class A
- readable writable attr _a: Int #!alt1#
- #alt1#readable writable attr _a: Object
+ readable writable attr _a: Int = 0#!alt1#
+ #alt1#readable writable attr _a: Object = 0
init do end
meth foo
do