FIR: set anonymous object constructor return type properly
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
public fun <T, R> myWith(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
var result = "fail"
|
||||
|
||||
public fun <T, R> myWith(receiver: T, block: T.() -> R): R {
|
||||
|
||||
Reference in New Issue
Block a user