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

support RSymbol in RLengthNode

parent 39c986e2
Branches
No related tags found
No related merge requests found
......@@ -79,6 +79,12 @@ public abstract class RLengthNode extends RNode {
return 1;
}
@Specialization
@SuppressWarnings("unused")
protected int doSymbol(RSymbol operand) {
return 1;
}
@Specialization(guards = {"cachedClass != null", "cachedClass == operand.getClass()"})
protected int doCachedContainer(Object operand, //
@Cached("getContainerClass(operand)") Class<? extends RAbstractContainer> cachedClass, //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment