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 @@
package foo
@JsName("A")
external open class B(val foo: String)
external open class B(foo: String) {
val foo: String
}
class C(s: String) : B(s)