feature request for functions declared in methods #5390
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-duplicate
Closed in favor of an existing report
This issue was originally filed by @bp74
What steps will reproduce the problem?
void main() {
void test1() {
test2();
}
void test2() {
}
test1();
}
What is the expected output? What do you see instead?
This code does not compile and i don't even know if it would be correct to do so. The first function calls the function below. From a programmer standpoint it would be nice if this would work like it does with methods.
The text was updated successfully, but these errors were encountered: