Skip to content

I wish for a way to specify generic variance #33215

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
matanlurey opened this issue May 23, 2018 · 1 comment
Closed

I wish for a way to specify generic variance #33215

matanlurey opened this issue May 23, 2018 · 1 comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-stale Closed as the issue or PR is assumed stale

Comments

@matanlurey
Copy link
Contributor

Specifically, I wish List<T> was List<in T>, like in other languages.

(This is a stub, I hope to fill this issue out with more examples in the near future)

@kevmoo kevmoo added the area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). label May 26, 2018
@lrhn lrhn closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2025
@lrhn lrhn added the closed-stale Closed as the issue or PR is assumed stale label Apr 9, 2025
@eernstg
Copy link
Member

eernstg commented Apr 9, 2025

One proposal for this kind of feature is dart-lang/language#524.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-stale Closed as the issue or PR is assumed stale
Projects
None yet
Development

No branches or pull requests

4 participants