Files
kotlin/compiler/testData/cli/jvm/wrongAnnotationArgumentInCtor.out
Dmitriy Novozhilov 7fb2bf00c5 Force resolve annotations in annotation checker
#KT-46173 Fixed
2021-04-19 14:32:36 +03:00

11 lines
600 B
Plaintext
Vendored

compiler/testData/cli/jvm/wrongAnnotationArgumentInCtor.kt:4:32: error: too many arguments for public constructor Anno() defined in Anno
class UnresolvedArgument(@Anno(BLA) val s: Int)
^
compiler/testData/cli/jvm/wrongAnnotationArgumentInCtor.kt:4:32: error: unresolved reference: BLA
class UnresolvedArgument(@Anno(BLA) val s: Int)
^
compiler/testData/cli/jvm/wrongAnnotationArgumentInCtor.kt:6:25: error: no value passed for parameter 'message'
class WithoutArguments(@Deprecated val s: Int)
^
COMPILATION_ERROR