| Index: pkg/compiler/lib/src/serialization/serialization.dart
|
| diff --git a/pkg/compiler/lib/src/serialization/serialization.dart b/pkg/compiler/lib/src/serialization/serialization.dart
|
| index 1b97c3d9a57632bb59ee6859384f8501bd8a677a..4230ca0dac75af4e889aebbaf5091b2ef1cf8705 100644
|
| --- a/pkg/compiler/lib/src/serialization/serialization.dart
|
| +++ b/pkg/compiler/lib/src/serialization/serialization.dart
|
| @@ -692,6 +692,7 @@ class Serializer {
|
| /// Helper used to check that external references are serialized by
|
| /// the right kind.
|
| bool verifyElement(var found, var expected) {
|
| + if (found == null) return false;
|
| found = found.declaration;
|
| if (found == expected) return true;
|
| if (found.isAbstractField && expected.isGetter) {
|
|
|