Files
kotlin/compiler/testData/asJava/lightClasses/compilationErrors/WrongAnnotations.kt
Nicolay Mitropolsky aed63d49ce WrongAnnotations.kt - disabled LAZINESS:Consistency -check
because source-based LightAnnotations produces annotation values from arguments in sources even when they are invalid as parameters. Thus they could be inconsistenct with "compiled" ones and it is not an error.
2018-05-28 17:06:35 +03:00

35 lines
399 B
Kotlin
Vendored

// A
class A {
companion object {
@JvmName("realName")
fun f1() {
}
@JvmName(1)
fun f2() {}
@JvmStatic(3)
fun f3() {
}
@JvmName
fun f4() {
}
@JvmOverloads(1, 2, 3, 4)
fun f5() {
}
@JvmOverloads("arg")
fun f6() {
}
}
}
// LAZINESS:NoConsistency