Fix failing assertion in ChangeFunctionTypeFix
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Change 'x' type to 'Int'" "true"
|
||||
trait X {
|
||||
val x: Int
|
||||
}
|
||||
|
||||
class A : X {
|
||||
override val x: Int = 42
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Change 'x' type to 'Int'" "true"
|
||||
trait X {
|
||||
val x: Int
|
||||
}
|
||||
|
||||
class A : X {
|
||||
override val x: Number<caret> = 42
|
||||
}
|
||||
Reference in New Issue
Block a user