Skip to content

Commit

Permalink
Version 3.3.0-172.0.dev
Browse files Browse the repository at this point in the history
Merge d91f3a1 into dev
  • Loading branch information
Dart CI committed Nov 28, 2023
2 parents 85b30ba + d91f3a1 commit 5d8fb67
Show file tree
Hide file tree
Showing 7 changed files with 1,318 additions and 362 deletions.
8 changes: 5 additions & 3 deletions pkg/analyzer/lib/src/error/codes.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ class CompileTimeErrorCode extends AnalyzerErrorCode {
'AWAIT_OF_EXTENSION_TYPE_NOT_FUTURE',
"The 'await' expression can't be used for an expression with an extension "
"type that is not a subtype of 'Future'.",
correctionMessage: "Try updating the extension type to implement 'Future'.",
correctionMessage:
"Try removing the `await`, or updating the extension type to implement "
"'Future'.",
);

/// Parameters:
Expand Down Expand Up @@ -1672,8 +1674,8 @@ class CompileTimeErrorCode extends AnalyzerErrorCode {
static const CompileTimeErrorCode
EXTENSION_TYPE_CONSTRUCTOR_WITH_SUPER_INVOCATION = CompileTimeErrorCode(
'EXTENSION_TYPE_CONSTRUCTOR_WITH_SUPER_INVOCATION',
"Extension type constructors can't include superinitializers.",
correctionMessage: "Try removing the superconstructor invocation.",
"Extension type constructors can't include super initializers.",
correctionMessage: "Try removing the super constructor invocation.",
);

/// No parameters.
Expand Down
Loading

0 comments on commit 5d8fb67

Please sign in to comment.