Skip to content

Commit

Permalink
[noci] Update comment
Browse files Browse the repository at this point in the history
enebo committed Apr 25, 2018

Verified

This commit was signed with the committer’s verified signature.
wyattjoh Wyatt Johnson
1 parent 5a8d17b commit b9dd399
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ private static DynamicScope getContainingMethodOrLambdasDynamicScope(DynamicScop
StaticScope staticScope = dynScope.getStaticScope();
IRScope scope = staticScope.getIRScope();

// 1) method 2) lambda 3) closure (define_method) for zsuper
// 1) method 2) root of script 3) lambda 3) closure (define_method) for zsuper
if (scope instanceof IRMethod
|| scope instanceof IRScriptBody
|| (scope instanceof IRClosure && (dynScope.isLambda() || staticScope.isArgumentScope()))) return dynScope;

0 comments on commit b9dd399

Please sign in to comment.