Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Unified Diff: pkg/analyzer/lib/src/summary/resynthesize.dart

Issue 2025233003: Rename ClassElementImpl and its subclasses. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0b3ac6b21cba5e9510d462425590fd2a0430bcac..93b0b2224619b759c79a49a2911f3d14e5dbdace 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -1749,7 +1749,7 @@ class _UnitResynthesizer {
ClassElementImpl buildClassImpl(
UnlinkedClass serializedClass, ClassElementHandle handle) {
ClassElementImpl classElement =
- new ClassElementImpl_Class.forSerialized(serializedClass, unit);
+ new ClassElementImpl.forSerialized(serializedClass, unit);
classElement.hasBeenInferred = summaryResynthesizer.strongMode;
InterfaceTypeImpl correspondingType =
new InterfaceTypeImpl(handle ?? classElement);
@@ -1875,8 +1875,8 @@ class _UnitResynthesizer {
*/
void buildEnum(UnlinkedEnum serializedEnum) {
assert(!libraryResynthesizer.isCoreLibrary);
- ClassElementImpl_Enum classElement =
- new ClassElementImpl_Enum.forSerialized(serializedEnum, unit);
+ EnumElementImpl classElement =
+ new EnumElementImpl.forSerialized(serializedEnum, unit);
InterfaceType enumType = new InterfaceTypeImpl(classElement);
classElement.type = enumType;
classElement.supertype = typeProvider.objectType;

Powered by Google App Engine
This is Rietveld 408576698