| Index: pkg/compiler/lib/src/closure.dart
|
| diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart
|
| index 637237cab18224ce7e258ac0df3acaea29e41b7b..5b43c620643ced8991ec76a4be9b896183b556e6 100644
|
| --- a/pkg/compiler/lib/src/closure.dart
|
| +++ b/pkg/compiler/lib/src/closure.dart
|
| @@ -482,9 +482,7 @@ class ClosureClassElement extends ClassElementX {
|
| // classes (since the emitter sorts classes by their id).
|
| compiler.idGenerator.getNextFreeId(),
|
| STATE_DONE) {
|
| - ClassElement superclass = methodElement.isInstanceMember
|
| - ? compiler.resolution.commonElements.boundClosureClass
|
| - : compiler.resolution.commonElements.closureClass;
|
| + ClassElement superclass = compiler.resolution.commonElements.closureClass;
|
| superclass.ensureResolved(compiler.resolution);
|
| supertype = superclass.thisType;
|
| interfaces = const Link<ResolutionDartType>();
|
| @@ -1379,7 +1377,7 @@ class ClosureTranslator extends Visitor {
|
| ClosureClassElement globalizedElement =
|
| new ClosureClassElement(node, closureName, compiler, element);
|
| // Extend [globalizedElement] as an instantiated class in the closed world.
|
| - closedWorldRefiner.registerClosureClass(globalizedElement, false);
|
| + closedWorldRefiner.registerClosureClass(globalizedElement);
|
| MethodElement callElement = new SynthesizedCallMethodElementX(
|
| Identifiers.call, element, globalizedElement, node, elements);
|
| backend.mirrorsDataBuilder.maybeMarkClosureAsNeededForReflection(
|
|
|