JS: add checker to detect non-external declarations in files marked by JsModule or JsQualifier annotation
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@file:JsModule("lib")
|
||||
|
||||
class <!NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE!>A<!> {
|
||||
class B
|
||||
|
||||
fun bar() {}
|
||||
}
|
||||
|
||||
<!NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE!>fun foo()<!> = "OK"
|
||||
Reference in New Issue
Block a user