Files
kotlin-fork/compiler/testData/diagnostics/tests/DefaultValuesCheckWithoutBody.kt
T
2021-05-10 14:26:14 +03:00

11 lines
309 B
Kotlin
Vendored

// FIR_IDENTICAL
interface Inter {
fun foo(x: Int = <!UNINITIALIZED_PARAMETER!>y<!>, y: Int = x)
}
abstract class Abst {
abstract fun foo(x: Int = <!UNINITIALIZED_PARAMETER!>y<!>, y: Int = x)
}
<!NON_MEMBER_FUNCTION_NO_BODY!>fun extraDiagnostics(x: Int = <!UNINITIALIZED_PARAMETER!>y<!>, y: Int)<!>