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

Problem with inner class and generics when using kapt #54

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

janbina
Copy link
Contributor

@janbina janbina commented Jun 18, 2018

A while ago, I've got a problem with inner classes when using kapt (issue #42).
That problem was fixed, but now I run into similar problem. When the top level class has generic type, generated StateSaver class looks like this:
TestInnerClassGeneric$Inner$$StateSaver<T extends TestInnerClassGeneric<P>.Inner>
Notice that <P> which should not be here.

As well as #42, it's ok when using annotationProcessor.

I've created a test class reproducing that problem.

@vRallev
Copy link
Contributor

vRallev commented Sep 24, 2018

I'm really sorry for the delay. I found the issue. The test class was very helpful!

@vRallev vRallev merged commit bf14198 into Evernote:master Sep 24, 2018
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

Successfully merging this pull request may close these issues.

2 participants