Files
kotlin-fork/compiler/testData/diagnostics/tests/DefaultValuesCheckWithoutBody.fir.kt
T
2021-01-27 19:46:05 +03:00

10 lines
283 B
Kotlin
Vendored

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