Files
kotlin-fork/compiler/visualizer/testData/rawBuilder/expressions/in.kt
T

14 lines
580 B
Kotlin
Vendored

// FIR_IGNORE
// collections/Collection<Int>
// │ Boolean
// │ │
fun foo(x: Int, y: Int, c: Collection<Int>) =
// foo.x: Int
// │ fun (collections/Collection<Int>).contains(Int): Boolean
// │ │ foo.c: collections/Collection<Int>
// │ │ │ foo.y: Int
// │ │ │ │ fun (collections/Collection<Int>).contains(Int): Boolean
// │ │ │ │ │ foo.c: collections/Collection<Int>
// │ │ │ │ │ │
x in c && y !in c