13 lines
260 B
Kotlin
Vendored
13 lines
260 B
Kotlin
Vendored
// "Remove default parameter value" "true"
|
|
// DISABLE-ERRORS
|
|
interface Foo {
|
|
fun test(x: Int, y: Int)
|
|
}
|
|
|
|
expect class Bar : Foo {
|
|
override fun test(x: Int, y: Int)
|
|
}
|
|
|
|
actual class Bar : Foo {
|
|
actual override fun test(x: Int, y: Int = 1<caret>) {}
|
|
} |