[FIR2IR] Approximate extension receiver type after type argument substitution
Frontend may leak captured types into type arguments, so they should be approximated before using them in fir2ir cast inserter to determine a specific type from smartcast ^KT-62863 Fixed
This commit is contained in:
committed by
Space Team
parent
d2ebaf4e6c
commit
d08567c2c7
+5
@@ -40816,6 +40816,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/smartCasts/smartcastOnImplicitDispatchReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("smartcastToStarType.kt")
|
||||
public void testSmartcastToStarType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/smartcastToStarType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("toStringOnReceiverWIthSmartcast.kt")
|
||||
public void testToStringOnReceiverWIthSmartcast() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/toStringOnReceiverWIthSmartcast.kt");
|
||||
|
||||
Reference in New Issue
Block a user