Add flag -Xno-new-java-annotation-targets
Do not generate TYPE_USE/TYPE_PARAMETER Java annotation targets when this flag is specified. #KT-53712 Fixed
This commit is contained in:
+6
@@ -287,6 +287,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/annotations/noTypeUseIfDependOnJvm6.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noTypeUseIfFlagIsSpecified.kt")
|
||||
public void testNoTypeUseIfFlagIsSpecified() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/noTypeUseIfFlagIsSpecified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectConstValInAnnotationArgument.kt")
|
||||
public void testObjectConstValInAnnotationArgument() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user