Don't forget to resolve annotations from constructor parameter

#KT-12245 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-03-28 12:53:40 +03:00
parent c9b468581a
commit 682fe9e9ca
9 changed files with 103 additions and 3 deletions
@@ -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"
}