[FIR2IR] Properly insert casts for smartcasts in argument position
Previously cast inserter didn't consider expected type for arguments of function calls ^KT-63257 Fixed
This commit is contained in:
committed by
Space Team
parent
c70a6425f5
commit
8578a0bf6a
+5
@@ -40816,6 +40816,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/smartCasts/smartCastInsideIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("smartcastFromGenericToString.kt")
|
||||
public void testSmartcastFromGenericToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/smartcastFromGenericToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("smartcastOnImplicitDispatchReceiver.kt")
|
||||
public void testSmartcastOnImplicitDispatchReceiver() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/smartcastOnImplicitDispatchReceiver.kt");
|
||||
|
||||
Reference in New Issue
Block a user