You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using @EachProperty on a class extending an abstract class + overriding an abstract value and KSP for processing I should get the same behavior as with KAPT processing in the same scenario (working)
Actual Behaviour
While using KSP, @EachProperty coupled with an abstract class + override results in error along the lines of:
Task :kspKotlin FAILED
e: [ksp] Originating element: thing
e: [ksp] C:/Users/hroth/git/micronaut-ksp-bug/src/main/kotlin/com/github/hrothwell/Example.kt:12: Prefix is required for com.github.hrothwell.MyAbstractClass
e: java.lang.IllegalStateException: Prefix is required for com.github.hrothwell.MyAbstractClass
Steps To Reproduce
create an abstract class with an abstract value
create a class annotated with @EachProperty that implements said abstract class
run ./gradlew clean build
alternative: In example application linked, uncomment these lines and run ./gradlew clean build
Environment Information
operating system: Mac 14.1.2 + Windows 11 (likely others)
Expected Behavior
While using
@EachProperty
on a class extending an abstract class + overriding an abstract value andKSP
for processing I should get the same behavior as with KAPT processing in the same scenario (working)Actual Behaviour
While using KSP,
@EachProperty
coupled with an abstract class + override results in error along the lines of:Steps To Reproduce
@EachProperty
that implements said abstract class./gradlew clean build
alternative: In example application linked, uncomment these lines and run
./gradlew clean build
Environment Information
Example Application
https://github.com/hrothwell/micronaut-ksp-bug
Version
4.3.2
The text was updated successfully, but these errors were encountered: