| Index: pkg/analyzer/lib/src/summary/resynthesize.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| index 45fd9b17024efbfd699999b616390d98fa9be62d..59d178a8b7db2992f2521211c5bcc403d99dceef 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -250,8 +250,7 @@ class _LibraryResynthesizer {
|
| InterfaceTypeImpl correspondingType = new InterfaceTypeImpl(classElement);
|
| if (serializedClass.supertype != null) {
|
| classElement.supertype = buildType(serializedClass.supertype);
|
| - } else {
|
| - // TODO(paulberry): don't make Object point to itself.
|
| + } else if (!serializedClass.hasNoSupertype) {
|
| classElement.supertype = summaryResynthesizer.typeProvider.objectType;
|
| }
|
| classElement.interfaces =
|
|
|