Files
kotlin-fork/compiler/testData/codegen/box/operatorConventions/kt39880.kt
T
2021-10-02 06:14:35 +00:00

11 lines
184 B
Kotlin
Vendored

// WITH_RUNTIME
// !LANGUAGE: -StrictOnlyInputTypesChecks
fun foo(fn: () -> Boolean) {}
fun box(): String {
foo { 1 in setOf("1") }
val a = 1 in setOf("1")
return "OK"
}