KT-23394: Add a test with a property
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Change type of 'Foo.x' to 'String?'" "true"
|
||||
class Foo {
|
||||
var x = null
|
||||
|
||||
fun foo(condition: Boolean) {
|
||||
if (condition) {
|
||||
x = "abc"<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Change type of 'Foo.x' to 'String?'" "true"
|
||||
class Foo {
|
||||
var x: String? = null
|
||||
|
||||
fun foo(condition: Boolean) {
|
||||
if (condition) {
|
||||
x = "abc"<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user