Skip to content
Snippets Groups Projects
Commit 2c9259ee authored by Tomas Stupka's avatar Tomas Stupka
Browse files

added NULL attribute specialization (remove) to SetAttribNode

parent b2905e15
No related branches found
No related tags found
No related merge requests found
...@@ -231,6 +231,12 @@ public final class AttributesAccessNodes { ...@@ -231,6 +231,12 @@ public final class AttributesAccessNodes {
return RNull.instance; return RNull.instance;
} }
@Specialization
protected Object doIt(RSharingAttributeStorage target, RNull attributes) {
clearAttrs(target);
return RNull.instance;
}
@Fallback @Fallback
protected Object doOthers(Object target, Object attrs) { protected Object doOthers(Object target, Object attrs) {
throw unsupportedTypes("SET_ATTRIB", target, attrs); throw unsupportedTypes("SET_ATTRIB", target, attrs);
......
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