[FIR] Don't miss annotations on inits
^KT-59874
This commit is contained in:
committed by
Space Team
parent
63f461a6cd
commit
5a1a23afac
@@ -1,11 +1,11 @@
|
||||
class A {
|
||||
@ann init {}
|
||||
@aaa init {}
|
||||
<!WRONG_ANNOTATION_TARGET!>@ann<!> init {}
|
||||
@<!UNRESOLVED_REFERENCE!>aaa<!> init {}
|
||||
}
|
||||
|
||||
interface T {
|
||||
@ann <!ANONYMOUS_INITIALIZER_IN_INTERFACE!>init<!> {}
|
||||
@aaa <!ANONYMOUS_INITIALIZER_IN_INTERFACE!>init<!> {}
|
||||
<!WRONG_ANNOTATION_TARGET!>@ann<!> <!ANONYMOUS_INITIALIZER_IN_INTERFACE!>init<!> {}
|
||||
@<!UNRESOLVED_REFERENCE!>aaa<!> <!ANONYMOUS_INITIALIZER_IN_INTERFACE!>init<!> {}
|
||||
}
|
||||
|
||||
annotation class ann
|
||||
|
||||
Reference in New Issue
Block a user