Skip to content
Snippets Groups Projects
Commit cbf87d48 authored by dgelessus's avatar dgelessus
Browse files

Re-add PositionedNode copy constructor for better backward compatibility

parent f40594dd
Branches
No related tags found
No related merge requests found
Pipeline #138164 passed
......@@ -19,6 +19,11 @@ public class PositionedNode {
this(null, null);
}
@Deprecated
public PositionedNode(final PositionedNode node) {
this(node.startPos, node.endPos);
}
/**
* Copies the {@link SourcePosition}s from the given node to this node.
* This is an internal helper method for use in {@link Object#clone()} implementations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment