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

Inline method produces incorrect code #19801

Closed
danrubel opened this issue Jul 2, 2014 · 6 comments
Closed

Inline method produces incorrect code #19801

danrubel opened this issue Jul 2, 2014 · 6 comments
Assignees
Labels
analyzer-refactoring area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.

Comments

@danrubel
Copy link

danrubel commented Jul 2, 2014

Given this ...

void main() {
  print(message);
}

String message() => "Hello, World!";

... when I inline the "message" method, it produces incorrect code

void main() {
  print(() => "Hello, World!";);
}

@clayberg
Copy link

clayberg commented Jul 2, 2014

Removed Priority-Unassigned label.
Added Priority-Medium label.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@sethladd
Copy link
Contributor

Removed Area-Editor label.
Added Area-Analyzer, Analyzer-Refactoring labels.

@scheglov
Copy link
Contributor

@scheglov
Copy link
Contributor

@danrubel danrubel added Type-Defect area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-refactoring labels Sep 12, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-refactoring area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Projects
None yet
Development

No branches or pull requests

5 participants