JS: prohibit nested classes, objects and enums in external interface. See KT-16012
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
external interface I {
|
||||
interface J
|
||||
|
||||
class <!NESTED_CLASS_IN_EXTERNAL_INTERFACE!>C<!>
|
||||
|
||||
<!NESTED_CLASS_IN_EXTERNAL_INTERFACE!>object O<!>
|
||||
|
||||
enum class <!NESTED_CLASS_IN_EXTERNAL_INTERFACE!>E<!>
|
||||
|
||||
companion <!NESTED_CLASS_IN_EXTERNAL_INTERFACE!>object<!>
|
||||
}
|
||||
Reference in New Issue
Block a user