Fix failing assertion in ChangeFunctionTypeFix

This commit is contained in:
Wojciech Lopata
2013-04-17 09:22:33 +02:00
parent 1d08bf7895
commit 0543b73099
6 changed files with 27 additions and 4 deletions
@@ -0,0 +1,8 @@
// "Change 'x' type to 'Int'" "true"
trait X {
val x: Int
}
class A : X {
override val x: Int = 42
}
@@ -0,0 +1,8 @@
// "Change 'x' type to 'Int'" "true"
trait X {
val x: Int
}
class A : X {
override val x: Number<caret> = 42
}