| Index: sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart
|
| index cd51594a67f4da6d21f64d3156399333a3e2b4b4..3ec8830a39f196ce426493bb71af2d794a7fbffb 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart
|
| @@ -60,10 +60,10 @@ class TypeTestEmitter extends CodeEmitterHelper {
|
| ClosureClassMap closureData =
|
| compiler.closureToClassMapper.closureMappingCache[node];
|
| if (closureData != null) {
|
| - ClosureFieldElement thisElement =
|
| + ClosureFieldElement thisLocal =
|
| closureData.getFreeVariableElement(closureData.thisLocal);
|
| - if (thisElement != null) {
|
| - String thisName = namer.instanceFieldPropertyName(thisElement);
|
| + if (thisLocal != null) {
|
| + String thisName = namer.instanceFieldPropertyName(thisLocal);
|
| thisAccess = js('this.#', thisName);
|
| }
|
| }
|
|
|