[FE 1.0] Fix false-negative INVALID_IF_AS_EXPRESSION_WARNING and NO_ELSE_IN_WHEN_WARNING
^KT-51711 Fixed
This commit is contained in:
committed by
teamcity
parent
c67c1a69b9
commit
565c61a702
+6
@@ -6386,6 +6386,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/controlStructures/kt4310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt51711.kt")
|
||||
public void testKt51711() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlStructures/kt51711.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt657.kt")
|
||||
public void testKt657() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user