Index: pkg/compiler/lib/src/closure.dart |
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart |
index 4ba469bf367921d5fb77fbb528febca2c35561d6..ff8dbf8255909ac4692143d400145ff6bc4523db 100644 |
--- a/pkg/compiler/lib/src/closure.dart |
+++ b/pkg/compiler/lib/src/closure.dart |
@@ -272,8 +272,8 @@ class ClosureClassElement extends ClassElementX { |
compiler.idGenerator.getNextFreeId(), |
STATE_DONE) { |
ClassElement superclass = methodElement.isInstanceMember |
- ? compiler.commonElements.boundClosureClass |
- : compiler.commonElements.closureClass; |
+ ? compiler.resolution.commonElements.boundClosureClass |
+ : compiler.resolution.commonElements.closureClass; |
superclass.ensureResolved(compiler.resolution); |
supertype = superclass.thisType; |
interfaces = const Link<ResolutionDartType>(); |