JS: prohibit nested classes, objects and enums in external interface. See KT-16012
This commit is contained in:
@@ -12,14 +12,6 @@ external interface T {
|
||||
|
||||
fun foo()
|
||||
fun bar()
|
||||
|
||||
companion object {
|
||||
val baz: Int
|
||||
val boo: Int = definedExternally
|
||||
|
||||
fun foo()
|
||||
fun bar(): String = definedExternally
|
||||
}
|
||||
}
|
||||
|
||||
external class C {
|
||||
|
||||
Reference in New Issue
Block a user