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

Quick fix for "create method" doesn't work with hints. #18863

Closed
stereotype441 opened this issue May 16, 2014 · 8 comments
Closed

Quick fix for "create method" doesn't work with hints. #18863

stereotype441 opened this issue May 16, 2014 · 8 comments
Assignees
Labels
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

@stereotype441
Copy link
Member

This code:

  class C {}
  main() {
    C c = new C();
    c.foo();
  }

produces the warning "The method 'foo' is not defined for the class 'C'", and provides the associated quick fix "Create method 'foo'", as expected.

This code:

  class C {}
  main() {
    var c = new C();
    c.foo();
  }

has a hint instead of a warning, as expected. However, it does not offer any quick fixes. It should offer the same quick fix as in the warning case.

@bwilkerson
Copy link
Member

Set owner to @scheglov.

@clayberg
Copy link

Added this to the 1.5 milestone.
Removed Type-CodeHealthen, Priority-Unassigned labels.
Added Type-Enhancement, Priority-Medium labels.

@scheglov
Copy link
Contributor

@kasperl
Copy link

kasperl commented Jun 4, 2014

Removed this from the 1.5 milestone.
Added this to the 1.6 milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

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

@stereotype441
Copy link
Member Author

Bugs related to quick fixes are now being tracked as area=Analyzer, since quick fixes are generated by the analyzer module.


Removed Area-Editor label.
Added Area-Analyzer label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@scheglov
Copy link
Contributor

@stereotype441 stereotype441 added Type-Enhancement area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. 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
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