Don't forget to resolve annotations from constructor parameter
#KT-12245 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// IGNORE_BACKEND: JVM, JS, NATIVE
|
||||
|
||||
// Here we check that there is compilation error, so ignore_backend directive is actual
|
||||
|
||||
@Target(AnnotationTarget.FIELD, AnnotationTarget.CLASS)
|
||||
annotation class Anno
|
||||
|
||||
class UnresolvedArgument(@Anno(BLA) val s: Int)
|
||||
|
||||
class WithoutArguments(@Deprecated val s: Int)
|
||||
|
||||
fun box(): String {
|
||||
UnresolvedArgument(3)
|
||||
WithoutArguments(0)
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user