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
6 lines
103 B
Plaintext
6 lines
103 B
Plaintext
import java.util.ArrayList
|
|
|
|
fun f() {
|
|
val a = ArrayList<Int>()
|
|
println(a[if (true) 1 else 2])
|
|
} |