FIR: improve inference of implicit type arguments in casts
Type parameters do not necessarily match one-to-one, or preserve order.
This commit is contained in:
+5
@@ -30617,6 +30617,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/when/implicitExhaustiveAndReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inferredTypeParameters.kt")
|
||||
public void testInferredTypeParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/inferredTypeParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("integralWhenWithNoInlinedConstants.kt")
|
||||
public void testIntegralWhenWithNoInlinedConstants() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt");
|
||||
|
||||
Reference in New Issue
Block a user