| Index: pkg/compiler/lib/src/resolution/member_impl.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/member_impl.dart b/pkg/compiler/lib/src/resolution/member_impl.dart
|
| index bb2bab7a3edcf259d5e67050ad58fc6ea70a4221..d8c3c4ed82d2f4b90b8613ba4313448e7fe69a0a 100644
|
| --- a/pkg/compiler/lib/src/resolution/member_impl.dart
|
| +++ b/pkg/compiler/lib/src/resolution/member_impl.dart
|
| @@ -147,13 +147,13 @@ class InheritedMember implements DeclaredMember {
|
| // Assert that if [instance] contains type variables, then these are
|
| // defined in the declaration of [newInstance] and will therefore be
|
| // substituted into the context of [newInstance] in the created member.
|
| - ClassElement contextClass = Types.getClassContext(instance);
|
| + ClassElement contextClass = DartTypes.getClassContext(instance);
|
| return contextClass == null || contextClass == newInstance.element;
|
| },
|
| failedAt(
|
| declaration.element,
|
| "Context mismatch: Context class "
|
| - "${Types.getClassContext(instance)} from $instance does match "
|
| + "${DartTypes.getClassContext(instance)} from $instance does match "
|
| "the new instance $newInstance."));
|
| return _newInheritedMember(newInstance);
|
| }
|
|
|