PSI2IR KT-51036 fix lambda return value generation
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: WASM
|
||||
// ^ Unresolved reference: synchronized
|
||||
|
||||
fun box(): String {
|
||||
A().close()
|
||||
return "OK"
|
||||
}
|
||||
|
||||
class A {
|
||||
companion object;
|
||||
operator fun String.invoke() = Unit
|
||||
fun close() = synchronized(this) { "abc" }()
|
||||
}
|
||||
Reference in New Issue
Block a user