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

kapt生成的代理类没有继承的父类字段 #279

Open
hzychen opened this issue Nov 6, 2024 · 2 comments
Open

kapt生成的代理类没有继承的父类字段 #279

hzychen opened this issue Nov 6, 2024 · 2 comments

Comments

@hzychen
Copy link

hzychen commented Nov 6, 2024

kotlin + gradle项目,使用kapt生成的代理类,缺少继承的父类的字段,ksp下生成正常。
image
image
image

@hzychen
Copy link
Author

hzychen commented Dec 18, 2024

我这边拉源码下来调试,发现apt那边确实拿不到父类信息,在gradle.properties中将kapt.use.k2=true去掉就正常了,估计是kapt的k2模式有bug,不是框架的问题

@xuejmnet
Copy link
Collaborator

@hzychen 👌

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