Files
kotlin-fork/compiler/testData/ir/irText/expressions
Denis.Zharkov 99448b77f3 FIR2IR: Imitate K1 behavior when SAM type has a bit different shape
See the relevant test at t/
estData/codegen/box/sam/contravariantIntersectionType.kt

After the previous commit, when generating a call for `doOnSuccess {}`,
we have a SAM type with removed projection Consumer<Any?>, while
real function type of the lambda is a bit different
(Function1<ConcreteType & ConcreteType2>).

While for me, that looks questionable, but in K1 it was effectively
resolved via the same implicit cast that on JVM is generated to an
INVOKEDYNAMIC that wraps initial function-typed value.

^KT-53552 Fixed
2023-02-20 14:54:09 +00:00
..
2022-03-30 06:27:59 +00:00
2022-03-30 06:27:59 +00:00
2020-03-23 15:13:50 +03:00
2022-03-15 05:34:19 +00:00
2022-03-30 06:27:59 +00:00
2022-03-30 06:27:59 +00:00
2022-03-30 06:27:59 +00:00
2020-12-25 14:29:11 +03:00
2022-03-30 06:27:59 +00:00
2021-07-02 13:10:04 +03:00