Files
kotlin-fork/idea/testData/codeInsight/codeTransformations/removeUnnecessaryParentheses/necessaryParentheses5.kt
T
2013-04-19 08:41:31 +02:00

8 lines
134 B
Kotlin

// IS_APPLICABLE: false
trait Foo {
fun get(x : Any) : Foo
fun plus(x : Any) : Foo
}
fun foo(x: Foo) {
<caret>(x + x)[x]
}