Skip to content

Commit

Permalink
[noci] Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Apr 25, 2018
1 parent 5a8d17b commit b9dd399
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit b9dd399

Please sign in to comment.