You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[analyzer/linter] Prevent backsliding to the old messages.yaml format.
Error checking is added to:
- `class ErrorCodeInfo`, to ensure that old-style place holders
(`{N}`) are no longer used.
- `class AnalyzerErrorCodeInfo`, to ensure that all error codes
contain a `parameters` entry. (This check can't be in
`ErrorCodeInfo`, because the CFE's `messages.yaml` doesn't contain
`parameters` entries yet).
This will prevent adding new error messages that use the old format.
Change-Id: If37b912d4dfbfd74339c813673571092f4471bda
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444364
Commit-Queue: Paul Berry <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>
Reviewed-by: Johnni Winther <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
0 commit comments