Do not inline property setter if it's not required (e.g. ReplaceWith)
So #KT-21237 Fixed
This commit is contained in:
@@ -14,6 +14,5 @@ class A {
|
||||
|
||||
fun foo() {
|
||||
val a = A()
|
||||
// Works incorrectly yet
|
||||
a.<caret>old = "foo"
|
||||
}
|
||||
@@ -14,6 +14,5 @@ class A {
|
||||
|
||||
fun foo() {
|
||||
val a = A()
|
||||
// Works incorrectly yet
|
||||
a.new
|
||||
a.new = "foo"
|
||||
}
|
||||
@@ -15,7 +15,6 @@ class A {
|
||||
fun foo() {
|
||||
val a = A()
|
||||
a.apply {
|
||||
// Works incorrectly yet
|
||||
<caret>old = "foo"
|
||||
}
|
||||
}
|
||||
+1
-2
@@ -15,7 +15,6 @@ class A {
|
||||
fun foo() {
|
||||
val a = A()
|
||||
a.apply {
|
||||
// Works incorrectly yet
|
||||
new
|
||||
new = "foo"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user