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

add inline getter similar to inline method #19800

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

add inline getter similar to inline method #19800

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. type-enhancement A request for a change that isn't a bug

Comments

@danrubel
Copy link

danrubel commented Jul 2, 2014

I cannot seem to inline the "message" getter...

void main() {
  print(message);
}

String get message => "Hello, World!";

... but if I change it to a method, then I can inline it ...

void main() {
  print(message);
}

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

@clayberg
Copy link

clayberg commented Jul 2, 2014

Added this to the 1.7 milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

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

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.7 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-Enhancement area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-refactoring labels Sep 14, 2014
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
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. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

6 participants