Better behaviour of "Change Type" quickfixes in case of function types
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Change 'x' type to '(String) -> Int'" "true"
|
||||
trait A {
|
||||
var x: (String) -> Int
|
||||
}
|
||||
trait B : A {
|
||||
override var x: (String) -> Int
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Change 'x' type to '(String) -> Int'" "true"
|
||||
trait A {
|
||||
var x: (String) -> Int
|
||||
}
|
||||
trait B : A {
|
||||
override var x: (Int) -> String<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user