-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2548. Add tests for out parameter in a contrvariant position #2555
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
One typo occurs in many places: 'contrvariant' should be 'contravariant'. Also, 'occurs in the contrvariant position' would probably be more reader-friendly if changed to 'occurs in a contravariant position' such that we don't imply that there is exactly one contravariant position in any given member signature, or, if there are several, that we've already agreed on which one it is.
Typo with article fixed. Please clarify where exactly " 'contrvariant' should be 'contravariant'"? I don't see such places |
Found it, sorry |
Fixed. Please take another look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
2024-03-05 sgrekhov22@gmail.com dart-lang/co19#2559. Add tests checking that `augment` is a built-in identifier (dart-lang/co19#2560) 2024-03-01 49699333+dependabot[bot]@users.noreply.github.com Bump actions/setup-java from 4.0.0 to 4.1.0 (dart-lang/co19#2557) 2024-02-23 sgrekhov22@gmail.com dart-lang/co19#2548. Add tests for out parameter in a contrvariant position (dart-lang/co19#2555) 2024-02-22 sgrekhov22@gmail.com dart-lang/co19#2548. Add variance modifier declaration tests (dart-lang/co19#2554) 2024-02-21 sgrekhov22@gmail.com dart-lang/co19#2548. Add `out` and `inout` to built-in identifiers tests (dart-lang/co19#2553) Change-Id: Idd8ddf54f4cd7bb04b7296068653bee336d6d193 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356460 Reviewed-by: Erik Ernst <eernst@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
Before switching to macroses just want to submit the current work