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:
@@ -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"
|
||||
Reference in New Issue
Block a user