01dd5b546e
This updates the parser to allow covariant modifier on non-final declaring parameters. A new message is added for the case where primary constructors are support to avoid signaling that it is generally invalid to use covariant in primary constructors. Part of https://github.com/dart-lang/sdk/issues/61699 Change-Id: Ic592579e6499a30fb51d74af45bc294fb8213b3d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/472904 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>