| Index: pkg/analyzer/lib/src/generated/error.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
|
| index 683b7f18d1143abbdf066547363939cb0ef66a69..f96282ac5f8a13940d14ccaa3885ab3ea0cf8bd6 100644
|
| --- a/pkg/analyzer/lib/src/generated/error.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error.dart
|
| @@ -2685,6 +2685,7 @@ abstract class ErrorCode {
|
| HintCode.INVALID_USE_OF_PROTECTED_MEMBER,
|
| HintCode.MISSING_JS_LIB_ANNOTATION,
|
| HintCode.MISSING_REQUIRED_PARAM,
|
| + HintCode.MISSING_REQUIRED_PARAM_WITH_DETAILS,
|
| HintCode.MISSING_RETURN,
|
| HintCode.NULL_AWARE_IN_CONDITION,
|
| HintCode.OVERRIDE_ON_NON_OVERRIDING_GETTER,
|
| @@ -3580,9 +3581,20 @@ class HintCode extends ErrorCode {
|
| *
|
| * Parameters:
|
| * 0: the name of the parameter
|
| - * 1: an optional reason
|
| */
|
| static const HintCode MISSING_REQUIRED_PARAM = const HintCode(
|
| + 'MISSING_REQUIRED_PARAM', "The parameter '{0}' is required.");
|
| +
|
| +
|
| + /**
|
| + * Generate a hint for a constructor, function or method invocation where a
|
| + * required parameter is missing.
|
| + *
|
| + * Parameters:
|
| + * 0: the name of the parameter
|
| + * 1: message details
|
| + */
|
| + static const HintCode MISSING_REQUIRED_PARAM_WITH_DETAILS = const HintCode(
|
| 'MISSING_REQUIRED_PARAM', "The parameter '{0}' is required. {1}");
|
|
|
| /**
|
|
|