// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE // WITH_REFLECT var result = "Fail" class A { fun foo(t: T) { result = t as String } } fun box(): String { (A::foo).call(A(), "OK") return result }