Support "Change parameter type" for parameters with type-mismatched default value
#KT-15627 Fixed
This commit is contained in:
@@ -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) {}
|
||||
Reference in New Issue
Block a user