Closed
Description
The snippet below should be an error per the static analysis section of https://github.com/dart-lang/sdk/blob/master/docs/language/informal/generalized-void.md .
import 'dart:async';
void returnsVoid() {}
main() async {
await returnsVoid();
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
dgrove commentedon Jun 15, 2018
per #33415, this is not caught by the analyzer.
natebosch commentedon Jul 11, 2018
Closing as unplanned since it's a breaking change to fix it and we've decided it's not worth the effort to clean up. As per #33823 we will hopefully be able to make this show up in the analyzer but can't add it to CFE.
await e
withvoid
expression dart-lang/language#468