[refactoring] update ast structure of "ArrayDimFetch" and "ArrayItem" nodes

This commit is contained in:
Vadym Slizov
2020-12-01 00:42:45 +02:00
parent 47b974a3a4
commit 4b8d431767
7 changed files with 1732 additions and 1656 deletions

View File

@@ -1369,7 +1369,7 @@ func (p *Printer) printExprArrayItem(n ast.Vertex) {
nn := n.(*ast.ExprArrayItem)
p.printFreeFloating(nn, token.Start)
if nn.Unpack {
if nn.EllipsisTkn != nil {
p.write([]byte("..."))
}