toolisticon / avro-kotlin

Opionionated set of extension functions and helpers for using Apache Avro with Kotlin
https://avro-kotlin.toolisticon.io/stable/
Apache License 2.0
3 stars 0 forks source link

Serialization: Kotlin: [Internal Error] Source classes should be created separately before referencing #113

Closed jangalinski closed 1 day ago

jangalinski commented 3 weeks ago

error:

Kotlin: [Internal Error] java.lang.IllegalStateException: Source classes should be created separately before referencing
    at org.jetbrains.kotlin.fir.backend.Fir2IrClassifierStorage.getIrClass(Fir2IrClassifierStorage.kt:217)

full stack trace attached.

Does not happen with maven console, but when compiling with IDEA ... and seems to affect only MacOs.

Current Workarounds:

Related to:

jangalinski commented 3 weeks ago

scratch_30.txt

zambrovski commented 1 week ago

Currently fixed by setting Kotlin API version and Kotlin Language version to 1.9

jangalinski commented 1 day ago

Closed because this does not happen with language version 1.9 ...