Skip to content
Snippets Groups Projects
Commit 6990aa76 authored by Florian Angerer's avatar Florian Angerer
Browse files

Added missing specialization.

parent b3831257
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,11 @@ public final class MiscNodes {
return updateSlotNode.executeUpdate(o, name, value);
}
@Specialization
Object doSlotAssign(Object o, RSymbol name, Object value) {
return updateSlotNode.executeUpdate(o, name.getName(), value);
}
@Fallback
Object doSlot(@SuppressWarnings("unused") Object o, Object name, @SuppressWarnings("unused") Object value) {
throw RError.error(RError.SHOW_CALLER2, RError.Message.INVALID_ARGUMENT_OF_TYPE, "name", SEXPTYPE.gnuRTypeForObject(name).name());
......
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