Prohibit external modifiers on classes and properties in JVM target
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<!WRONG_MODIFIER_TARGET!>external class A<!>
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>external val foo: Int = 23<!>
|
||||
|
||||
class B {
|
||||
<!WRONG_MODIFIER_TARGET!>external class A<!>
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>external val foo: Int = 23<!>
|
||||
}
|
||||
Reference in New Issue
Block a user