Reproduce KT-45475: no smartcast after conditional throw in try expression
This commit is contained in:
committed by
TeamCityServer
parent
1f6f996faf
commit
7e5b562b33
+6
@@ -25745,6 +25745,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/threeImplicitReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("throwInTry.kt")
|
||||
public void testThrowInTry() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/throwInTry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoImplicitReceivers.kt")
|
||||
public void testTwoImplicitReceivers() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user