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

Java import of inner enum not inferred #13745

Closed
stuhood opened this issue Nov 30, 2021 · 3 comments
Closed

Java import of inner enum not inferred #13745

stuhood opened this issue Nov 30, 2021 · 3 comments

Comments

@stuhood
Copy link
Member

stuhood commented Nov 30, 2021

An import of an inner-enum from/to Java within the same package is not inferred.

import akka.http.shaded.com.twitter.hpack.HpackUtil.IndexType;
final class HpackUtil {
  ...
  enum IndexType {
    ...
  }
}

The import is extracted, but the declared type is not exposed.

@stuhood
Copy link
Member Author

stuhood commented Nov 30, 2021

This represented roughly 2.5% of the issues in akka-http.

@chrisjrn
Copy link
Contributor

I suspect this has something to do with static type handling, but unsure.

@stuhood
Copy link
Member Author

stuhood commented Dec 3, 2021

Closing in favor of #13765.

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

No branches or pull requests

2 participants