Files
sdk/pkg/analysis_server/lib
Johnni Winther 01dd5b546e [parser][PrimaryConstructors] Support covariant on non-final declaring parameters
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>
2026-01-22 01:24:45 -08:00
..