Skip to content
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

Merged
merged 4 commits into from
Feb 23, 2024

Conversation

sgrekhov
Copy link
Contributor

Before switching to macroses just want to submit the current work

Copy link
Member

@eernstg eernstg left a 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.

@sgrekhov
Copy link
Contributor Author

Typo with article fixed. Please clarify where exactly " 'contrvariant' should be 'contravariant'"? I don't see such places

@sgrekhov
Copy link
Contributor Author

Found it, sorry

@sgrekhov
Copy link
Contributor Author

Fixed. Please take another look

Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@eernstg eernstg merged commit 6dbe0dc into dart-lang:master Feb 23, 2024
1 of 2 checks passed
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Mar 8, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants