[FIR] Fix handling of WRONG_MODIFIER_TARGET
Implement DEPRECATED_MODIFIER, DEPRECATED_MODIFIER_FOR_TARGET, REDUNDANT_MODIFIER_FOR_TARGET
This commit is contained in:
committed by
TeamCityServer
parent
e85940a1ac
commit
cd6384eb20
+4
-4
@@ -8,7 +8,7 @@ annotation class JvmInline
|
||||
@JvmInline
|
||||
value class Foo(val x: Int)
|
||||
|
||||
value interface InlineInterface
|
||||
value annotation class InlineAnn
|
||||
value object InlineObject
|
||||
value enum class InlineEnum
|
||||
<!WRONG_MODIFIER_TARGET!>value<!> interface InlineInterface
|
||||
<!WRONG_MODIFIER_TARGET!>value<!> annotation class InlineAnn
|
||||
<!WRONG_MODIFIER_TARGET!>value<!> object InlineObject
|
||||
<!WRONG_MODIFIER_TARGET!>value<!> enum class InlineEnum
|
||||
|
||||
Reference in New Issue
Block a user