Inline adds parentheses when it is necessary.
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
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun f() {
|
||||
println(foo()[1])
|
||||
}
|
||||
Reference in New Issue
Block a user