Add default values for some primitive type attributes.
[nit.git] / tests / test_combined_assignment.nit
index 9c2408b..7371a8a 100644 (file)
@@ -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