Index: pkg/compiler/lib/src/closure.dart |
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart |
index 657020647848e18a3100a71af44a52c9e12b6860..5d5b1287a8aa534baf7e9281ee672544e3edbb3a 100644 |
--- a/pkg/compiler/lib/src/closure.dart |
+++ b/pkg/compiler/lib/src/closure.dart |
@@ -1056,7 +1056,7 @@ class ClosureTranslator extends Visitor { |
MemberElement enclosing = element.memberContext; |
enclosing.nestedClosures.add(callElement); |
globalizedElement.addMember(callElement, reporter); |
- globalizedElement.computeAllClassMembers(compiler); |
+ globalizedElement.computeAllClassMembers(compiler.resolution); |
// The nested function's 'this' is the same as the one for the outer |
// function. It could be [null] if we are inside a static method. |
ThisLocal thisElement = closureData.thisLocal; |