Index: pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart |
index 34a72fea7d01a7c61b90ce1b3aa8a50e8a1f30dc..209699dac7cb2b7953b00e6934b47942abc5a1a6 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart |
@@ -107,7 +107,8 @@ abstract class KernelClassBuilder |
} |
} |
- int resolveConstructors(KernelLibraryBuilder library) { |
+ @override |
+ int resolveConstructors(LibraryBuilder library) { |
int count = super.resolveConstructors(library); |
if (count != 0) { |
// Copy keys to avoid concurrent modification error. |
@@ -162,9 +163,8 @@ abstract class KernelClassBuilder |
ListLiteral literal = new ListLiteral(<Expression>[]); |
Name name = new Name("_redirecting#", library.library); |
Field field = new Field(name, |
- isStatic: true, |
- initializer: literal, |
- fileUri: cls.fileUri)..fileOffset = cls.fileOffset; |
+ isStatic: true, initializer: literal, fileUri: cls.fileUri) |
+ ..fileOffset = cls.fileOffset; |
cls.addMember(field); |
return new DillMemberBuilder(field, this); |
}); |