Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request for functions declared in methods #5390

Closed
DartBot opened this issue Sep 23, 2012 · 2 comments
Closed

feature request for functions declared in methods #5390

DartBot opened this issue Sep 23, 2012 · 2 comments
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

Comments

@DartBot
Copy link

DartBot commented Sep 23, 2012

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.

@iposva-google
Copy link
Contributor

Added Area-Language, Triaged labels.

@gbracha
Copy link
Contributor

gbracha commented Nov 6, 2012

Added Duplicate label.
Marked as being merged into #5339.

@DartBot DartBot added Type-Defect 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 labels Nov 6, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants