Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
index 9b304e488f675c3b6fcc619d83f7e83b90c576de..3cbbfca30490db35e6cf95120452770b90bac24a 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
@@ -733,7 +733,7 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
{bool isPrefix: false}) { |
if (builder == null || (!isInstanceContext && builder.isInstanceMember)) { |
if (!isPrefix && identical(name, "dynamic") && builder == null) { |
- return new KernelInterfaceTypeBuilder(name, null); |
+ return new KernelNamedTypeBuilder(name, null); |
} |
Name n = new Name(name, library.library); |
if (!isPrefix && isInstanceContext) { |