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:
+3
-1
@@ -4,7 +4,9 @@
|
||||
package foo
|
||||
|
||||
@JsName("A")
|
||||
external open class B(val foo: String)
|
||||
external open class B(foo: String) {
|
||||
val foo: String
|
||||
}
|
||||
|
||||
// MODULE: main(module1)
|
||||
// FILE: main.kt
|
||||
|
||||
Reference in New Issue
Block a user