| Index: lib/compiler/implementation/enqueue.dart
|
| diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart
|
| index 7bb1ce4e777d23a647112c7c84d152b76558348d..b2ff2a0985dfcb9c952f669c548a925e7eeb745a 100644
|
| --- a/lib/compiler/implementation/enqueue.dart
|
| +++ b/lib/compiler/implementation/enqueue.dart
|
| @@ -93,8 +93,7 @@ class Enqueuer {
|
| // of closures. They are processed as part of the enclosing function and not
|
| // present as a separate element (the call to the closure will be a member
|
| // function).
|
| - var closure = const SourceString("Closure");
|
| - return element.isMember() && element.getEnclosingClass().name != closure;
|
| + return element.isMember() && !element.getEnclosingClass().isClosure();
|
| }
|
|
|
| void registerRecompilationCandidate(Element element,
|
|
|