Files
kotlin-fork/compiler/testData/cli/jvm/optInOverrideMessage.out
T
2024-02-08 12:59:31 +00:00

8 lines
597 B
Plaintext
Vendored

compiler/testData/cli/jvm/optInOverrideMessage.kt:16:18: error: base declaration of supertype 'Base' needs opt-in. This API is experimental and can change at any time, please use with care. The declaration override must be annotated with '@Marker' or '@OptIn(Marker::class)'
override fun foo() {}
^^^
compiler/testData/cli/jvm/optInOverrideMessage.kt:18:18: error: base declaration of supertype 'Base' needs opt-in. The declaration override must be annotated with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
override fun bar() {}
^^^
COMPILATION_ERROR