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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart

Issue 2682993002: Pay some naming debt. (Closed)
Patch Set: Created 3 years, 10 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/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
index 851c4563e4c8d55f155f8ff96119c15a2a2a7082..825bc27bd5c2427ec9721a42ea7c6e3e21f8f4f3 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
@@ -46,8 +46,8 @@ import 'kernel_builder.dart' show
KernelConstructorBuilder,
KernelFieldBuilder,
KernelFormalParameterBuilder,
- KernelInterfaceTypeBuilder,
KernelLibraryBuilder,
+ KernelNamedTypeBuilder,
KernelProcedureBuilder,
KernelTypeBuilder,
LibraryBuilder,
@@ -77,21 +77,21 @@ class KernelEnumBuilder extends SourceClassBuilder
// TODO(ahe): These types shouldn't be looked up in scope, they come
// directly from dart:core.
KernelTypeBuilder objectType =
- new KernelInterfaceTypeBuilder("Object", null);
+ new KernelNamedTypeBuilder("Object", null);
KernelTypeBuilder intType =
- new KernelInterfaceTypeBuilder("int", null);
+ new KernelNamedTypeBuilder("int", null);
KernelTypeBuilder stringType =
- new KernelInterfaceTypeBuilder("String", null);
+ new KernelNamedTypeBuilder("String", null);
List<KernelTypeBuilder> types = <KernelTypeBuilder>[
objectType,
intType,
stringType];
Class cls = new Class(name: name);
Map<String, Builder> members = <String, Builder>{};
- KernelInterfaceTypeBuilder selfType = new KernelInterfaceTypeBuilder(
+ KernelNamedTypeBuilder selfType = new KernelNamedTypeBuilder(
name, null);
KernelTypeBuilder listType =
- new KernelInterfaceTypeBuilder("List", <KernelTypeBuilder>[selfType]);
+ new KernelNamedTypeBuilder("List", <KernelTypeBuilder>[selfType]);
types.add(listType);
/// From Dart Programming Language Specification 4th Edition/December 2015:

Powered by Google App Engine
This is Rietveld 408576698