| Index: pkg/compiler/lib/src/serialization/equivalence.dart
|
| diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart
|
| index e0a5d03dc1445b342cf50daf1374bd81825837e6..68075b1a432c4227269f9eb8dda950735cc8c514 100644
|
| --- a/pkg/compiler/lib/src/serialization/equivalence.dart
|
| +++ b/pkg/compiler/lib/src/serialization/equivalence.dart
|
| @@ -252,6 +252,7 @@ bool areAccessSemanticsEquivalent(AccessSemantics a, AccessSemantics b) {
|
| compoundAccess1.getter, compoundAccess2.getter) &&
|
| areElementsEquivalent(compoundAccess1.setter, compoundAccess2.setter);
|
| case AccessKind.CONSTANT:
|
| + default:
|
| throw new UnsupportedError('Unsupported access kind: ${a.kind}');
|
| }
|
| }
|
| @@ -331,6 +332,7 @@ bool areNewStructuresEquivalent(NewStructure a, NewStructure b) {
|
| return ad.constantInvokeKind == bd.constantInvokeKind &&
|
| areConstantsEquivalent(ad.constant, bd.constant);
|
| case NewStructureKind.LATE_CONST:
|
| + default:
|
| throw new UnsupportedError('Unsupported NewStructure kind ${a.kind}.');
|
| }
|
| }
|
|
|