JS: report errors on different external items:
* data classes
* val/var parameters of primary constructors
* enum entry with body
* anonymous `init {}` block in classes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
external annotation class <!WRONG_EXTERNAL_DECLARATION!>A<!>
|
||||
external annotation class <!WRONG_EXTERNAL_DECLARATION!>A(val x: Int)<!>
|
||||
|
||||
val x: Int
|
||||
<!WRONG_EXTERNAL_DECLARATION!>external get()<!> = noImpl
|
||||
@@ -16,4 +16,6 @@ class C {
|
||||
external class D {
|
||||
val a: Int
|
||||
<!WRONG_EXTERNAL_DECLARATION!>external get()<!> = noImpl
|
||||
}
|
||||
}
|
||||
|
||||
external data class <!WRONG_EXTERNAL_DECLARATION!>E(val x: Int)<!>
|
||||
Reference in New Issue
Block a user