I get strange compiler errors after upgrading to Kotlin 2.0.0-beta1:
They are related to expect/actual of classes.
Is there anything I should know?
I get this message:
e: file///home/johannes/projects/com.cedarsoft.monorepo/internal/open/commons/i18n/src/commonMain/kotlin/it/neckar/open/formatting/DateTimeFormat.kt92:8 Class 'DateTimeFormatIso8601' is not abstract and does not implement abstract member 'format'.
DateTimeFormatIso8601 is an "expect class". The "format" method is declared in the interface.
11/16/2023, 8:00 AM
11/16/2023, 8:37 AM
I've faced with the same case. As i understand now all members of expect class must be explicetly declared in it. expect override fun ...