Future.delayed always warns about argument error in the dart editor #19944
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Milestone
This issue was originally filed by esprehn@chromium.org
All the code samples on the dart website have:
new Future.delayed(const Duration(seconds:1), () {
// ...code goes here...
});
but passing an function that takes no arguments to Future.delayed gives an error in the Dart editor about an argument of type 'path/to/my/app.dart' cannot be passed as an argument of type ''.
The text was updated successfully, but these errors were encountered: