Skip to content
Snippets Groups Projects
Commit d3d76bbc authored by Lukas Stadler's avatar Lukas Stadler
Browse files

remove unnecessary cast

parent c8b3408a
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ public abstract class ConstantNode extends RNode implements RSyntaxNode, Visibil
} else if (value instanceof String) {
return new ConstantObjectNode(value);
} else if (value instanceof RSymbol) {
return new ConstantObjectNode(((RSymbol) value));
return new ConstantObjectNode(value);
} else if (value instanceof RArgsValuesAndNames) {
// this can be created during argument matching and "call"
return new ConstantObjectNode(value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment