[NI] Fix reporting smartcast diagnostics for intersection types

#KT-30826 Fixed
This commit is contained in:
Dmitriy Novozhilov
2019-04-08 12:37:56 +03:00
parent ece3a0fe90
commit 18f9272f56
15 changed files with 115 additions and 36 deletions
@@ -19534,6 +19534,11 @@ public class FirDiagnosticsSmokeTestGenerated extends AbstractFirDiagnosticsSmok
runTest("compiler/testData/diagnostics/tests/smartCasts/kt2865.kt");
}
@TestMetadata("kt30826.kt")
public void testKt30826() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/kt30826.kt");
}
@TestMetadata("kt3224.kt")
public void testKt3224() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/kt3224.kt");