Dart2js should use inferred type information to give better hints/warnings. #17279
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
Say we have the following program:
var future = new Future.value(499);
future.then(() => print('done'));
We should give a hint that this will fail at runtime, because Future.then takes a closure with one argument.
The text was updated successfully, but these errors were encountered: