[WASM] Add receiver capturing to callable references
This commit is contained in:
committed by
teamcityserver
parent
b8d11f7938
commit
41a69ad388
@@ -1,5 +1,4 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: BINDING_RECEIVERS
|
||||
|
||||
fun box(): String {
|
||||
return if ((arrayOf(1, 2, 3)::get)(1) == 2) "OK" else "Fail"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user