Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add --no-implicit-dynamic flag to strong mode #25573
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: