[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
Generated
+12
@@ -5296,6 +5296,18 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
@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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
|
||||
Reference in New Issue
Block a user