Index: pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart |
index 1a0c7cc87a59ed71d48b960fd2da9f5648c79156..a17f1ce7d6f2e67492d669f1e1cb6e6a7128a1f6 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart |
@@ -31,7 +31,7 @@ import 'kernel_builder.dart' |
show Builder, FieldBuilder, KernelTypeBuilder, MetadataBuilder; |
class KernelFieldBuilder extends FieldBuilder<Expression> { |
- final Field field; |
+ final KernelField field; |
final List<MetadataBuilder> metadata; |
final KernelTypeBuilder type; |
final Token initializerTokenForInference; |
@@ -73,7 +73,7 @@ class KernelFieldBuilder extends FieldBuilder<Expression> { |
..hasImplicitSetter = isInstanceMember && !isConst && !isFinal |
..isStatic = !isInstanceMember; |
if (isEligibleForInference) { |
- library.loader.typeInferenceEngine.recordField(field); |
+ library.loader.typeInferenceEngine.recordMember(field); |
} |
return field; |
} |