Closed
Description
This issue was originally filed by [email protected]
Use dartc_test to run:
bool foo(bool bar()) => bar();
bool bar() {}
main() {
foo(bar);
}
with --enable_type_checks.
An error is thrown because the type of bar is not bool.
Metadata
Metadata
Assignees
Labels
No labels