nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grammar: new production `array_items` to replace arg_list for literal arrays
[nit.git]
/
src
/
parser
/
parser_nodes.nit
diff --git
a/src/parser/parser_nodes.nit
b/src/parser/parser_nodes.nit
index
a7f8071
..
493ed0e
100644
(file)
--- a/
src/parser/parser_nodes.nit
+++ b/
src/parser/parser_nodes.nit
@@
-1773,7
+1773,7
@@
end
class AArrayExpr
super AExpr
var n_obra: TObra is writable, noinit
- var n_exprs: AExprs is writable, noinit
+ var n_exprs = new ANodes[AExpr](self)
var n_type: nullable AType = null is writable
var n_cbra: TCbra is writable, noinit
end