Add kotlin.external annotation and deprecate kotlin.jvm.native

This commit is contained in:
Denis Zharkov
2015-09-04 14:21:29 +03:00
parent 26f9bd7b63
commit 5471a1d18a
29 changed files with 93 additions and 79 deletions
@@ -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()