psi2ir: inferred type for 'when' is Nothing only if it's exhaustive
TODO: fix inference bug
This commit is contained in:
@@ -1256,6 +1256,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/regressions/integerCoercionToT.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt24114.kt")
|
||||
public void testKt24114() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/regressions/kt24114.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeAliasCtorForGenericClass.kt")
|
||||
public void testTypeAliasCtorForGenericClass() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt");
|
||||
|
||||
Reference in New Issue
Block a user