Support "Change parameter type" for parameters with type-mismatched default value

#KT-15627 Fixed
This commit is contained in:
Alexey Sedunov
2017-01-12 21:06:35 +03:00
parent ba0f8b908f
commit 41f5a3e864
5 changed files with 22 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Change parameter 's' type of function 'foo' to 'Int'" "true"
val ONE = 1
fun foo(s: String = <caret>ONE + 1) {}
@@ -0,0 +1,4 @@
// "Change parameter 's' type of function 'foo' to 'Int'" "true"
val ONE = 1
fun foo(s: Int = <caret>ONE + 1) {}