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:
Alexey Andreev
2016-12-20 17:50:44 +03:00
parent 03682ee849
commit 79ba6a57d6
28 changed files with 179 additions and 28 deletions
@@ -3,7 +3,9 @@
@file:JsModule("lib")
package foo
external class A(@native val x: Int = noImpl) {
external class A(x: Int = noImpl) {
val x: Int
fun foo(y: Int): Int = noImpl
}