Do not generate TYPE_USE/TYPE_PARAMETER when compiling against JDK 1.6

#KT-53712
This commit is contained in:
Alexander Udalov
2022-08-26 00:39:05 +02:00
parent 0d2e9e7013
commit a09fd45ade
9 changed files with 79 additions and 11 deletions
@@ -281,6 +281,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("noTypeUseIfDependOnJvm6.kt")
public void testNoTypeUseIfDependOnJvm6() throws Exception {
runTest("compiler/testData/codegen/box/annotations/noTypeUseIfDependOnJvm6.kt");
}
@Test
@TestMetadata("objectConstValInAnnotationArgument.kt")
public void testObjectConstValInAnnotationArgument() throws Exception {