K1/K2: add test to confirm KT-61100 behavior
This commit is contained in:
committed by
Space Team
parent
af58b30e5f
commit
d6cefb363b
+15
@@ -0,0 +1,15 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_REFLECT
|
||||
// FILE: Ann.java
|
||||
|
||||
public @interface Ann {
|
||||
String[] value();
|
||||
}
|
||||
|
||||
// FILE: Test.kt
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
fun test() {
|
||||
val x: KFunction1<Array<out String>, Ann> = ::<!CALLABLE_REFERENCE_TO_ANNOTATION_CONSTRUCTOR!>Ann<!>
|
||||
}
|
||||
Reference in New Issue
Block a user