File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
pkg/analyzer/lib/src/error Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4399,13 +4399,10 @@ class CompileTimeErrorCode extends AnalyzerErrorCode {
43994399 "changing the import to not be deferred." );
44004400
44014401 /**
4402- * 15 Metadata: Metadata consists of a series of annotations, each of which
4403- * begin with the character @, followed by a constant expression that must be
4404- * either a reference to a compile-time constant variable, or a call to a
4405- * constant constructor.
4402+ * No parameters.
44064403 */
44074404 static const CompileTimeErrorCode INVALID_ANNOTATION_GETTER =
4408- CompileTimeErrorCode (
4405+ CompileTimeErrorCodeWithUniqueName ( 'INVALID_ANNOTATION' ,
44094406 'INVALID_ANNOTATION_GETTER' , "Getters can't be used as annotations." ,
44104407 correction: "Try using a top-level variable or a field." );
44114408
You can’t perform that action at this time.
0 commit comments