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

Bug with static import methods when the method or value is in an inner enum #1044

Closed
surli opened this issue Dec 16, 2016 · 1 comment
Closed
Labels

Comments

@surli
Copy link
Collaborator

surli commented Dec 16, 2016

If a class is defined like this:

public Foo {
    static enum Toto {}
    public Toto[] aMethod() {
        return Toto.values();
   }
}

In autoImports value it tries to import the values() method from the inner enum.

@surli surli added the bug label Dec 16, 2016
@surli surli changed the title Bug with static import methods when the method is in an inner enum Bug with static import methods when the method or value is in an inner enum Dec 16, 2016
@surli
Copy link
Collaborator Author

surli commented Dec 17, 2016

Closed with #1048

@surli surli closed this as completed Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant