Avoid excessive copying in JsLabel
See KT-18331
This commit is contained in:
@@ -69,6 +69,6 @@ public class JsLabel extends SourceInfoAwareJsNode implements JsStatement, HasNa
|
||||
@NotNull
|
||||
@Override
|
||||
public JsLabel deepCopy() {
|
||||
return new JsLabel(label, AstUtil.deepCopy(statement.deepCopy())).withMetadataFrom(this);
|
||||
return new JsLabel(label, AstUtil.deepCopy(statement)).withMetadataFrom(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user