55b221776b
Test data for Remove Unnecessary Parentheses was updated, since parentheses in foo && (bar && baz) is not "unnecessary": removing it changes program semantics. #KT-2637 in progress
7 lines
124 B
Kotlin
7 lines
124 B
Kotlin
import java.util.ArrayList
|
|
|
|
fun f() {
|
|
val a = ArrayList<Int>()
|
|
val v = if (true) 1 else 2
|
|
println(a[<caret>v])
|
|
} |