Add quick-fix for default parameter value removal #KT-25146 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-07-24 09:03:21 +03:00
committed by Mikhail Glukhikh
parent a059d50c8f
commit 1b1e503716
10 changed files with 132 additions and 0 deletions
@@ -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>) {}
}