Fix IteratorNext intrinsic to cast its dispatch receiver to

the expected type.

^KT-47741 Fixed.
This commit is contained in:
Mads Ager
2021-07-15 14:51:09 +02:00
committed by Alexander Udalov
parent f83cc69379
commit b51ff799cb
10 changed files with 51 additions and 2 deletions
@@ -3027,6 +3027,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/function/kt32462.kt");
}
@TestMetadata("kt47741.kt")
public void testKt47741() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/kt47741.kt");
}
@TestMetadata("nestedConstructorFromClass.kt")
public void testNestedConstructorFromClass() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt");