Add quick-fix for default parameter value removal #KT-25146 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
a059d50c8f
commit
1b1e503716
+13
@@ -0,0 +1,13 @@
|
||||
// "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>) {}
|
||||
}
|
||||
Reference in New Issue
Block a user