[FIR] Allow annotation instantiation.
This commit disables the frontend error reporting for supported cases.
This commit is contained in:
committed by
TeamCityServer
parent
56d472451c
commit
b79ca7d7df
@@ -1,7 +1,9 @@
|
||||
// With FIR the annotation implementation class is not regenerated as it
|
||||
// is seen as coming from the same module.
|
||||
// See IrSourceCompilerForInline.kt:isCallInsideSameModuleAsCallee.
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_DEXING
|
||||
|
||||
// WITH_RUNTIME
|
||||
// !LANGUAGE: +InstantiationOfAnnotationClasses
|
||||
|
||||
@@ -39,4 +41,4 @@ fun box(): String {
|
||||
assert(one.javaClass.getEnclosingClass().getName() == "test.C")
|
||||
assert(two.javaClass.getEnclosingClass().getName() == "test.C")
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user