Report WRONG_MODIFIER_TARGET on the modifier instead of the declaration
in ExternalFunChecker. This allows RemoveModifierFix to provide a quickfix to remove it.
This commit is contained in:
committed by
Ilya Kirillov
parent
c680ee8525
commit
dd20dd9806
@@ -1,9 +1,9 @@
|
||||
<!WRONG_MODIFIER_TARGET!>external class A<!>
|
||||
<!WRONG_MODIFIER_TARGET!>external<!> class A
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>external val foo: Int = 23<!>
|
||||
<!WRONG_MODIFIER_TARGET!>external<!> val foo: Int = 23
|
||||
|
||||
class B {
|
||||
<!WRONG_MODIFIER_TARGET!>external class A<!>
|
||||
<!WRONG_MODIFIER_TARGET!>external<!> class A
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>external val foo: Int = 23<!>
|
||||
}
|
||||
<!WRONG_MODIFIER_TARGET!>external<!> val foo: Int = 23
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user