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
Comments
Set owner to @scheglov. |
Added this to the 1.5 milestone. |
https://codereview.chromium.org/293743003 Added Started label. |
Removed this from the 1.6 milestone. |
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. |
Removed Oldschool-Milestone-1.6 label. |
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.
The text was updated successfully, but these errors were encountered: