Skip to content

Implementation issue for superinterface contravariance error Q1'19 #113

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
8 of 9 tasks
eernstg opened this issue Nov 29, 2018 · 8 comments
Closed
8 of 9 tasks

Implementation issue for superinterface contravariance error Q1'19 #113

eernstg opened this issue Nov 29, 2018 · 8 comments
Labels
breaking-change implementation Track the implementation of a specific feature OBSOLETE: Please use SDK issue
Milestone

Comments

@eernstg
Copy link
Member

eernstg commented Nov 29, 2018

This issue is for tracking implementation of the error raised for non-covariant occurrences of a type variable in a superinterface of a generic class:

Request issue: #38
Feature issue: #39

Feature specification:
https://github.com/dart-lang/language/blob/master/accepted/future-releases/contravariant-superinterface-2018/feature-specification.md

Implementation plan:
https://github.com/dart-lang/language/blob/master/accepted/future-releases/contravariant-superinterface-2018/implementation-plan.md

ETA: Q1 2019 in Dart Repo.

Breaking change request: dart-lang/sdk#35097

Phase 0:

Phase 1:

@leafpetersen
Copy link
Member

@kmillikin @stereotype441 Any updates on schedule? Still on track for Q1? Is there a tracking issue for the CFE?

@kmillikin
Copy link
Contributor

There's no tracking issue for the CFE. It's still on track for Q1 in the sense that our estimate is that it's a week's worth of work. It's not on track for Q1 in the sense that we haven't started it so we're 0% completed at this time.

@kmillikin
Copy link
Contributor

Filed dart-lang/sdk#35792

@stereotype441
Copy link
Member

The analyzer is in a similar situation - we haven't started, but it should take no more than a week's worth of work, and we expect to be able to get to it this quarter.

@leafpetersen leafpetersen modified the milestones: Dart 2.2, Dart 2.3 Mar 14, 2019
@leafpetersen
Copy link
Member

@eernstg Are there any language tests for this?

@eernstg
Copy link
Member Author

eernstg commented Mar 15, 2019

I do not think we have any language tests for this, I'll write some. Changed the initial text of this issue to include a link to the issue.

@eernstg
Copy link
Member Author

eernstg commented Mar 21, 2019

Language tests for this landed as dart-lang/sdk@2805a37.

@leafpetersen leafpetersen modified the milestones: Dart 2.3, Dart 2.4 Apr 23, 2019
@leafpetersen
Copy link
Member

cc @kevmoo

This has landed in bleeding edge, for both CFE and analyzer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change implementation Track the implementation of a specific feature OBSOLETE: Please use SDK issue
Projects
None yet
Development

No branches or pull requests

5 participants