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
@@ -238,6 +238,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@TestMetadata("noTypeUseIfDependOnJvm6.kt")
public void testNoTypeUseIfDependOnJvm6() throws Exception {
runTest("compiler/testData/codegen/box/annotations/noTypeUseIfDependOnJvm6.kt");
}
@TestMetadata("parameterAnnotationInDefaultImpls.kt")
public void testParameterAnnotationInDefaultImpls() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt");