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

Fix: Added missing "fallback" specialization.

parent 7ef06c12
Branches
No related tags found
No related merge requests found
......@@ -121,4 +121,14 @@ public abstract class CopyOfRegAttributesNode extends RBaseNode {
}
}
}
@Specialization(guards = "!isAttributeStorage(source)")
@SuppressWarnings("unused")
protected void copyNothing(RAttributable source, RAttributable target) {
// do nothing, just pass
}
protected static boolean isAttributeStorage(Object o) {
return o instanceof RAttributeStorage;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment