Files
kotlin-fork/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.fir.kt
T
2023-06-22 14:59:19 +00:00

14 lines
498 B
Kotlin
Vendored

// In FIR, declaring the same `expect` and `actual` classes in one compiler module is not possible (see KT-55177). Hence the `.fir.kt` test
// expects a diagnostic here. The multi-module test corresponding to this test is called: `multiplatform/incDecOperatorsInExpectClass.kt`.
// !LANGUAGE: +MultiPlatformProjects
// SKIP_TXT
// Issue: KT-49714
expect class Counter {
operator fun inc(): Counter
operator fun dec(): Counter
}
actual typealias <!ACTUAL_WITHOUT_EXPECT!>Counter<!> = Int