[FIR] Fix incorrect context usages with withSuppressedDiagnostics call

This commit is contained in:
Dmitriy Novozhilov
2022-02-15 13:09:13 +03:00
committed by teamcity
parent ccb74b6477
commit b47cc86c57
23 changed files with 113 additions and 73 deletions
@@ -30312,6 +30312,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
public void testOnTypeParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/suppress/oneWarning/onTypeParameter.kt");
}
@Test
@TestMetadata("suppressOnDeclarationItself.kt")
public void testSuppressOnDeclarationItself() throws Exception {
runTest("compiler/testData/diagnostics/tests/suppress/oneWarning/suppressOnDeclarationItself.kt");
}
}
}