FIR: fix contract deserialization for assertIs<T>

This commit is contained in:
Mikhail Glukhikh
2021-07-06 13:00:01 +03:00
parent e0c1f50f03
commit c7877cb440
6 changed files with 30 additions and 0 deletions
@@ -5445,6 +5445,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
}
@Test
@TestMetadata("assertIs.kt")
public void testAssertIs() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts/assertIs.kt");
}
@Test
@TestMetadata("tryWithLambdaInside.kt")
public void testTryWithLambdaInside() throws Exception {