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
Regression: Java Constructors no longer validate #1061
Comments
this looks to be like an issue similar to what #1049 is trying to fix, and we've published a snapshot build containing that fix, can you verify if it solves your issue? |
Tested with |
can you give a full picture of your code? I tried following test case on my side and it validates normally.
|
I have since moved off of ksp (and code generation in general) for the affected project, but here's the old code (with kotlin 1.6, updating to 1.7 breaks) |
I am more interested in the actual workload, the logic that fails is same as mine, so I doubt it is the workload that causes failure, as I see in your sample above there is a |
I cannot reproduce as well. Since the reporter isn't blocked on this, I'm removing it from the milestone. |
The constructor of the following type no longer validates in 1.7 versions
Last known working version: 1.6.21-1.0.5
Debugging into the processor shows that the constructor return type as well as parameter types are error types in this case.
Kotlin classes with the same annotation validate without issue.
Possibly related issues: #961, #489
The text was updated successfully, but these errors were encountered: