Files
kotlin-fork/compiler/testData/diagnostics/testsWithJvmBackend/contextReceivers/kt59590WithContextReceiver.diag.txt
T
2023-10-24 10:07:08 +00:00

14 lines
820 B
Plaintext
Vendored

/kt59590WithContextReceiver.kt:4:1: error: Platform declaration clash: The following declarations have the same JVM signature (INSTANCELO;):
context(O) val INSTANCE: O? defined in O
val INSTANCE: O defined in O
/kt59590WithContextReceiver.kt:5:5: error: The feature "context receivers" is experimental and should be enabled explicitly
/kt59590WithContextReceiver.kt:5:5: error: The feature "context receivers" is experimental and should be enabled explicitly
/kt59590WithContextReceiver.kt:5:5: error: Platform declaration clash: The following declarations have the same JVM signature (INSTANCELO;):
context(O) val INSTANCE: O? defined in O
val INSTANCE: O defined in O
/kt59590WithContextReceiver.kt:7:24: error: Property with context receivers cannot be initialized because it has no backing field