[FIR] add missed tests for declaration annotations
^KT-63832
This commit is contained in:
committed by
Space Team
parent
001e9a4489
commit
aaaf35fcb8
+11
@@ -0,0 +1,11 @@
|
||||
annotation class Anno(val position: String)
|
||||
|
||||
class MyClass {
|
||||
<!WRONG_ANNOTATION_TARGET!>@Anno("init $prop")<!> init {
|
||||
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val prop = 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user