[FE] Fix exception from the 'UnusedChecker' on a destructuring

^KT-55973 Fixed
This commit is contained in:
Yan Zhulanow
2023-01-17 05:03:01 +09:00
committed by Space Team
parent 84baee1ef1
commit 9873fe84f2
6 changed files with 36 additions and 1 deletions
@@ -69,4 +69,10 @@ public class Fe10IdeNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated ex
public void testUnresolved() throws Exception {
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
}
@Test
@TestMetadata("unusedDestructuring.kt")
public void testUnusedDestructuring() throws Exception {
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
}
}