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

Refined assertion.

parent aad82a4f
No related branches found
No related tags found
No related merge requests found
......@@ -61,9 +61,8 @@ public final class GetCallerFrameNode extends RBaseNode {
if (slowPathFrame != null) {
return slowPathFrame;
}
callerFrameObject = null;
}
assert callerFrameObject == null;
assert callerFrameObject instanceof CallerFrameClosure || callerFrameObject == null;
// S3 method can be dispatched from top-level where there is no caller frame
// Since RArguments does not allow to create arguments with a 'null' caller frame, this
......
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