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
@@ -1,6 +1,8 @@
package foo
internal external open class A(val a: Int) {
internal external open class A(a: Int) {
val a: Int
fun g(): Int = noImpl
fun m(): Int = noImpl