Add kotlin.external annotation and deprecate kotlin.jvm.native
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
class A {
|
||||
<!WRONG_ANNOTATION_TARGET!>native<!> constructor() {}
|
||||
<!WRONG_ANNOTATION_TARGET!>external<!> constructor() {}
|
||||
inner class B {
|
||||
<!WRONG_ANNOTATION_TARGET!>native<!> constructor() {}
|
||||
<!WRONG_ANNOTATION_TARGET!>external<!> constructor() {}
|
||||
}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>native<!> constructor(<!UNUSED_PARAMETER!>x<!>: Int)
|
||||
<!WRONG_ANNOTATION_TARGET!>external<!> constructor(<!UNUSED_PARAMETER!>x<!>: Int)
|
||||
}
|
||||
|
||||
class C <!WRONG_ANNOTATION_TARGET!>native<!> constructor()
|
||||
class C <!WRONG_ANNOTATION_TARGET!>external<!> constructor()
|
||||
Reference in New Issue
Block a user