grammar: new production `array_items` to replace arg_list for literal arrays
[nit.git] / src / parser / parser_abs.nit
index 07045e3..1aaa263 100644 (file)
@@ -908,7 +908,7 @@ end
 class AArrayExpr
        super AExpr
        var n_obra: TObra is writable, noinit
-       var n_exprs: AExprs is writable, noinit
+       var n_exprs: List[AExpr] = new List[AExpr]
        var n_type: nullable AType = null is writable
        var n_cbra: TCbra is writable, noinit
        var n_annotations: nullable AAnnotations = null is writable