JVM_IR: omit bound receiver in IrExpressionLambdaImpl parameters

and remove a hack intended to replace the missing type conversions this
caused.

 #KT-46505 Fixed
This commit is contained in:
pyos
2021-05-10 17:26:47 +02:00
committed by Ilmir Usmanov
parent 614d529168
commit 656c2496a6
13 changed files with 72 additions and 56 deletions
@@ -0,0 +1,5 @@
inline class Value(val value: Any)
fun foo(value: Value?) = value?.value as String?
fun box(): String = (null as Value?).let(::foo) ?: "OK"