Index: pkg/front_end/messages.yaml |
diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml |
index 90d716e914a9af2962b8e728398ca18e985c1e7a..d7b1e51f8ef6ea16191191b3fe1cd3abbeb5834e 100644 |
--- a/pkg/front_end/messages.yaml |
+++ b/pkg/front_end/messages.yaml |
@@ -434,3 +434,13 @@ SuperNullAware: |
template: "'super' can't be null." |
tip: "Try replacing '?.' with '.'" |
dart2jsCode: FASTA_IGNORED |
+ |
+ConstFieldWithoutInitializer: |
+ template: "A 'const' field must be initialized." |
+ tip: "Try adding '= <initializer>'." |
+ dart2jsCode: FASTA_IGNORED |
+ |
+FinalFieldWithoutInitializer: |
+ template: "A 'final' field must be initialized." |
+ tip: "Try adding '= <initializer>'." |
+ dart2jsCode: FASTA_IGNORED |