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

Fix: Creating scope for root nodes only.

parent 0c42b2ff
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ public final class RScope extends AbstractScope {
}
public static RScope createScope(Node node, Frame frame) {
return new RScope(node, getEnv(frame));
return new RScope(node.getRootNode(), getEnv(frame));
}
private static Object getInteropValue(Object 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