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_attr_long.nit
diff --git
a/tests/test_attr_long.nit
b/tests/test_attr_long.nit
index
40bfe46
..
b29a1aa
100644
(file)
--- a/
tests/test_attr_long.nit
+++ b/
tests/test_attr_long.nit
@@
-15,8
+15,7
@@
# limitations under the License.
class A
-
- attr _a_: Int
+ attr _a_: Int = 0
meth a: Int
do