Introduce variable does something really strange for expression in square brackets
#KT-2490 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun f(list: List<String>) {
|
||||
val value = list[<selection>1 + 2</selection>]
|
||||
}
|
||||
/*
|
||||
fun f(list: List<String>) {
|
||||
val i = 1 + 2
|
||||
val value = list[i]
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user