Norbi
05/17/2023, 9:50 PMsealed interface A
in module-folder/src/jvmMain/kotlin
and I generate another interface interface B: A
with KSP in module-folder/build/generated/ksp/jvm/jvmMain/kotlin
(A
and B
are in the same package).
The error message is: Inheritance of sealed classes or interfaces from different module is prohibitedTing-Yuan Huang
05/17/2023, 10:27 PMNorbi
05/18/2023, 6:07 PMA
was in module-folder/src/commonMain/kotlin
(not in jvmMain
as I wrote above).
If I move it to module-folder/src/jvmMain/kotlin
it works as expected.
Sorry for the confusion.