| Index: pkg/compiler/lib/src/resolution/members.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
|
| index 8fa327f01c319d285e141d206a5397b5a8a8092a..b02d8bfc6cead4dc4d62982c4183a7c48e0d42a3 100644
|
| --- a/pkg/compiler/lib/src/resolution/members.dart
|
| +++ b/pkg/compiler/lib/src/resolution/members.dart
|
| @@ -4016,7 +4016,7 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
|
| for (ConstantValue key in map.keys) {
|
| if (!key.isObject) continue;
|
| ObjectConstantValue objectConstant = key;
|
| - ResolutionDartType keyType = objectConstant.type;
|
| + ResolutionInterfaceType keyType = objectConstant.type;
|
| ClassElement cls = keyType.element;
|
| if (cls == commonElements.stringClass) continue;
|
| Element equals = cls.lookupMember('==');
|
| @@ -4489,7 +4489,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
|
| if (constant.isFunction) return commonElements.functionType;
|
| assert(constant.isObject);
|
| ObjectConstantValue objectConstant = constant;
|
| - return objectConstant.type;
|
| + ResolutionInterfaceType type = objectConstant.type;
|
| + return type;
|
| }
|
|
|
| bool overridesEquals(ResolutionDartType type) {
|
|
|