KT-59504 [FIR] Check _ on destructuring declarations
Previously the checker was ignoring them, leading to missing diagnostics ^KT-59504 Fixed
This commit is contained in:
committed by
Space Team
parent
59129501cb
commit
b1551c67e0
+6
@@ -9191,6 +9191,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations/lastDestructuringDeclarationInBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("missingComponentN.kt")
|
||||
public void testMissingComponentN() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations/missingComponentN.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("RedeclarationInForLoop.kt")
|
||||
public void testRedeclarationInForLoop() throws Exception {
|
||||
|
||||
+6
@@ -9191,6 +9191,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations/lastDestructuringDeclarationInBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("missingComponentN.kt")
|
||||
public void testMissingComponentN() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations/missingComponentN.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("RedeclarationInForLoop.kt")
|
||||
public void testRedeclarationInForLoop() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user