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

当解析器有泛型,且构造方法Type类型参数为数组或可变类型时,编译后报错 #445

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

Comments

@liujingxing
Copy link
Owner

@Parser(name = "Response", wrappers = [PageList::class])
open class ResponseParser<T> : TypeParser<T> {
    protected constructor() : super()
    //vararg type: Type 也一样
    constructor(type: Array<Type>) : super(*type)
    //省略部分代码
}
image

3.0版本kapt/ksp均有这个问题

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