Add test reproducing KT-49087 and KT-49069
This commit is contained in:
committed by
teamcityserver
parent
d0a70e5cc0
commit
39fe457f91
@@ -0,0 +1,13 @@
|
||||
// FILE: test.kt
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR)
|
||||
annotation class KotlinMessage
|
||||
|
||||
data class KotlinResult @KotlinMessage constructor(@get:KotlinMessage <!REPEATED_ANNOTATION!>@KotlinMessage<!> val message: String = "")
|
||||
|
||||
open class Some {
|
||||
companion object {
|
||||
<!INAPPLICABLE_JVM_NAME!>@get:JvmName("getInstance")<!>
|
||||
<!NON_FINAL_MEMBER_IN_OBJECT!>open<!> val INSTANCE: String
|
||||
get() = "Omega"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user