Better behaviour of "Change Type" quickfixes in case of function types

This commit is contained in:
Wojciech Lopata
2013-04-30 19:32:21 +02:00
parent 68d8716ba8
commit 35fa071e1b
16 changed files with 113 additions and 30 deletions
@@ -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
}
@@ -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>
}