| Index: pkg/compiler/lib/src/ssa/locals_handler.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| index 21dd387674a4b7706a669586084e6a12d4adf994..378e6a5814b37227b94d0a9f06e121fce0919239 100644
|
| --- a/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| +++ b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| @@ -41,7 +41,7 @@ class LocalsHandler {
|
|
|
| /// The class that defines the current type environment or null if no type
|
| /// variables are in scope.
|
| - final ClassElement contextClass;
|
| + final ClassEntity contextClass;
|
|
|
| /// The type of the current instance, if concrete.
|
| ///
|
| @@ -97,12 +97,10 @@ class LocalsHandler {
|
| type,
|
| builder.types.asInstanceOf(
|
| builder.types.getThisType(contextClass), typeContext));
|
| - //type = type.substByContext(contextClass.asInstanceOf(typeContext));
|
| }
|
| }
|
| if (instanceType != null) {
|
| type = builder.types.substByContext(type, instanceType);
|
| - //type = type.substByContext(instanceType);
|
| }
|
| return type;
|
| }
|
| @@ -258,7 +256,7 @@ class LocalsHandler {
|
| // If this method is an intercepted method, add the extra
|
| // parameter to it, that is the actual receiver for intercepted
|
| // classes, or the same as [:this:] for non-intercepted classes.
|
| - ClassElement cls = element.enclosingClass;
|
| + ClassEntity cls = element.enclosingClass;
|
|
|
| // When the class extends a native class, the instance is pre-constructed
|
| // and passed to the generative constructor factory function as a parameter.
|
|
|