f3953a0d3b
Also, reworks the error reporting logic in `diagnostic_factory.dart` to use the analyzer's literate diagnostic reporting API. This required giving parameter names to the following diagnostic messages: - duplicatePatternAssignmentVariable - duplicatePatternField - referencedBeforeDeclaration Change-Id: I6a6a6964b53b6571e992702ffb622fc7791f6ee2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/471303 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>