-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add --no-implicit-dynamic flag to strong mode #25573
Comments
Taking a look at this. |
Note this will include implicit dynamic in a type argument to a class/typedef/generic function/generic method. |
implemented in https://codereview.chromium.org/2093523002/. I sent to @leafpetersen to see if the design seems right. There's a lot more nuance than I'd thought at first. In particular, how to handle implicit generic types used as type annotations. But there are some other interesting cases too, like the return type of a function expression. |
So what we're brainstorming now is a set of flags as we gather data:
No current plans to implement these, but for completeness, here are some other ideas that have floated around:
|
CC @leafpetersen @munificent -- see above for my notes on the various flags we may want. |
forked from #24267, also see: dart-archive/dev_compiler#299, dart-archive/dev_compiler#363, dart-archive/dev_compiler#365
The text was updated successfully, but these errors were encountered: