[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
@@ -1,10 +0,0 @@
|
||||
class A {
|
||||
external constructor() {}
|
||||
inner class B {
|
||||
external constructor() {}
|
||||
}
|
||||
|
||||
external constructor(x: Int)
|
||||
}
|
||||
|
||||
class C external constructor()
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class A {
|
||||
<!WRONG_MODIFIER_TARGET!>external<!> constructor() {}
|
||||
inner class B {
|
||||
|
||||
Reference in New Issue
Block a user