Skip to content

Write language tests for covariant-only superinterfaces #36231

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

Closed
eernstg opened this issue Mar 15, 2019 · 2 comments
Closed

Write language tests for covariant-only superinterfaces #36231

eernstg opened this issue Mar 15, 2019 · 2 comments
Assignees
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test).

Comments

@eernstg
Copy link
Member

eernstg commented Mar 15, 2019

Cf. the implementation plan for this feature, we need some tests to verify that tools raise an error in case a type variable declared by a class C is used in a position which is contravariant or invariant in a superinterface of C.

@eernstg eernstg added the area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). label Mar 15, 2019
@eernstg eernstg self-assigned this Mar 15, 2019
@eernstg
Copy link
Member Author

eernstg commented Mar 15, 2019

Some tests added by https://dart-review.googlesource.com/c/sdk/+/97111.

@eernstg
Copy link
Member Author

eernstg commented Mar 21, 2019

Landed as 2805a37.

@eernstg eernstg closed this as completed Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test).
Projects
None yet
Development

No branches or pull requests

1 participant