remove meta.NewAnchor
This commit is contained in:
@@ -1432,7 +1432,6 @@ func (p *Printer) printExprNew(n node.Node) {
|
||||
nn := n.(*expr.New)
|
||||
p.printMeta(nn, meta.NodeStart)
|
||||
|
||||
p.printMeta(nn, meta.NewAnchor)
|
||||
io.WriteString(p.w, "new")
|
||||
p.Print(nn.Class)
|
||||
|
||||
|
||||
@@ -3823,7 +3823,7 @@ func TestPrinterPrintNew(t *testing.T) {
|
||||
&meta.Data{
|
||||
Type: meta.WhiteSpaceType,
|
||||
Value: " ",
|
||||
TokenName: meta.NewAnchor,
|
||||
TokenName: meta.NodeStart,
|
||||
},
|
||||
},
|
||||
Class: &name.Name{
|
||||
|
||||
Reference in New Issue
Block a user