fad52e3388
The name being passed to the constructor didn't match the name of the declaration. I chose to favor the name of the declaration, since it more closely matched the similar error `ParserErrorCode.TYPE_PARAMETER_ON_CONSTRUCTOR`. Change-Id: I74e3c2a6411db85695ef6d9b4851602a29209a09 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214820 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>