Pavel S
04/17/2023, 4:05 PM./gradlew build
, ./gradlew test
) the build fails with
Expected class *class name* has no actual declaration in module *module name* for JVM```
and
Expected class *class name* has no actual declaration in module *module name* for Native
, ```
although all the actual classes are declared in all the sourcesets. I’ve found this issue which seems to be not fixed, and this can be suppressed with @Suppress("NO_ACTUAL_FOR_EXPECT")
but it’s impossible for the generated classes. Also, it seems that in most popular opensource projects this issue doesn’t occur