[FE 1.0] Fix reporting of uninitialized parameter in default values of parameters
^KT-25694 ^KT-50723 Fixed
This commit is contained in:
committed by
teamcity
parent
92e893bebe
commit
ecc890efe8
+12
@@ -5290,6 +5290,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/controlFlowAnalysis")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ControlFlowAnalysis {
|
||||
@Test
|
||||
@TestMetadata("accessValueParameterInDefaultValue_after.kt")
|
||||
public void testAccessValueParameterInDefaultValue_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/accessValueParameterInDefaultValue_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessValueParameterInDefaultValue_before.kt")
|
||||
public void testAccessValueParameterInDefaultValue_before() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/accessValueParameterInDefaultValue_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInControlFlowAnalysis() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
|
||||
Reference in New Issue
Block a user