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

解析器声明了泛型,但onParse方法返回具体的实体类,编译报错 #449

Closed
liujingxing opened this issue Jun 30, 2023 · 0 comments

Comments

@liujingxing
Copy link
Owner

liujingxing commented Jun 30, 2023

@rxhttp.wrapper.annotation.Parser(name = "User")
class UserParser<T, F, S>(vararg type: Type) : Parser<User> {

    override fun onParse(response: Response): User {
        TODO("Not yet implemented")
    }
}

错误如下

image image

ksp以上两个错误都有,kapt仅有第二个错误

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

1 participant