[K/Wasm] Convert non-capturing lambdas into singletons ^KT-64803 Fixed

This commit is contained in:
Artem Kobzar
2024-01-29 12:52:18 +00:00
committed by Space Team
parent e03f8b503f
commit 1fe77705b0
37 changed files with 245 additions and 20 deletions
@@ -0,0 +1,7 @@
// KT-64803
fun generateClosure(): () -> Unit = {}
fun box(): String {
return if (generateClosure().hashCode() != generateClosure().hashCode()) "Fail: hashCode are not equals" else "OK"
}