8000 support explicit instantiation of generic functions · Issue #25824 · dart-lang/sdk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

support explicit instantiation of generic functions #25824

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
jmesserly opened this issue Feb 19, 2016 · 1 comment
Closed

support explicit instantiation of generic functions #25824

jmesserly opened this issue Feb 19, 2016 · 1 comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). type-enhancement A request for a change that isn't a bug

Comments

@jmesserly
Copy link

This covers two related cases:
instantiated tear offs, e.g. var x = o.m<T>
instantiation of the function type, e.g. var y = f<int>

We can infer these, so that offers a workaround:
#25619

The main issue is we lack the AST node(s) to represent it.

@jmesserly jmesserly added type-enhancement legacy-area-analyzer Use area-devexp instead. P3 A lower priority bug or feature request labels Feb 19, 2016
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
@jmesserly jmesserly added area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). and removed P3 A lower priority bug or feature request analyzer-strong-mode legacy-area-analyzer Use area-devexp instead. labels Jun 27, 2018
@jmesserly
Copy link
Author

This is a language issue.

dart-bot pushed a commit that referenced this issue May 14, 2020
R=brianwilkerson@google.com, paulberry@google.com

Bug: #25824
Change-Id: I485f87f526c1251363349e9d354eefdc57d24120
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148200
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
@lrhn lrhn closed this as completed Apr 9, 2025
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). type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants
0