SmartPointers in Introduce Variable refactoring
It's often case, when psi can die after reparse, especially after reformatting cases, SmartPointers are opposite to it, can survive #KT-32601 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
val z = <selection>123</selection>
|
||||
val x: (Int) -> Int = { 123}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
val i = 123
|
||||
val z = i
|
||||
val x: (Int) -> Int = { i }
|
||||
}
|
||||
Reference in New Issue
Block a user