| Index: lib/compiler/implementation/closure.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/closure.dart (revision 12472)
|
| +++ lib/compiler/implementation/closure.dart (working copy)
|
| @@ -373,9 +373,8 @@
|
| }
|
| }
|
| }
|
| -
|
| - if (outermostFunctionElement.isMember()
|
| - && compiler.world.needsRti(outermostFunctionElement.enclosingElement)) {
|
| + if (outermostFunctionElement.isMember() &&
|
| + compiler.world.needsRti(outermostFunctionElement.getEnclosingClass())) {
|
| if (outermostFunctionElement.isInstanceMember()
|
| || outermostFunctionElement.isGenerativeConstructor()) {
|
| if (hasTypeVariable(type)) useLocal(closureData.thisElement);
|
|
|