| Index: pkg/compiler/lib/src/ssa/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
|
| index 22bd55d35cae352b1a967aa989d96eb589fce3e2..1edaf6e07fe014e2e33f4d035a03c171f7fe00cf 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -1755,8 +1755,11 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| // If the selector we need to register a typed getter to the
|
| // [world]. The emitter needs to know if it needs to emit a
|
| // bound closure for a method.
|
| +
|
| + // If [superMethod] is mixed in, [superClass] might not be live.
|
| + // We use the superclass of the access instead.
|
| TypeMask receiverType =
|
| - new TypeMask.nonNullExact(superClass, compiler.world);
|
| + new TypeMask.nonNullExact(node.caller.superclass, compiler.world);
|
| // TODO(floitsch): we know the target. We shouldn't register a
|
| // dynamic getter.
|
| registry.registerDynamicGetter(
|
|
|