Changed paths:
M pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart
M pkg/analyzer/lib/src/error/dead_code_verifier.dart
M pkg/analyzer/messages.yaml
Log Message:
-----------
[messages] Use literate API for _CatchClausesVerifier._reportDiagnostic.
Changes the callback function
`_CatchClausesVerifier._reportDiagnostic` so that it uses the literate
diagnistic reporting API.
To avoid making use of temporary placeholder parameter names, I
modified the error code `deadCodeOnCatchSubtype` in the process,
assigning it reasonable parameter names.
Changed paths:
M pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart
M pkg/analyzer/lib/src/error/best_practices_verifier.dart
M pkg/analyzer/messages.yaml
M pkg/analyzer/test/src/diagnostics/invalid_export_of_internal_element_test.dart
Log Message:
-----------
[messages] Fix correction message for invalid_export_of_internal_element_indirectly.
Fixes the correction message for
`invalid_export_of_internal_element_indirectly` to properly suggest
that the user hide the exported element. (Previously it suggested that
the user hide the internal, non-exported name).
Also switches to using the literate diagnostic API for reporting the
error.