mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
1) for all cases of misusing of JsModule report on JsNonModule as well 2) report about non-top-level declarations with JsModule/JsNonModule 3) report about JsModule/JsNonModule declarations inside file marked with JsModule/JsNonModule 4) report about usages of declarations not marked with both JsModule and JsNonModule from UMD module
22 lines
957 B
Plaintext
Vendored
22 lines
957 B
Plaintext
Vendored
package
|
|
|
|
package foo {
|
|
@kotlin.js.JsModule(import = "bar") public val bar: kotlin.Int = 42
|
|
@kotlin.js.JsNonModule public val baz: kotlin.Int = 99
|
|
@kotlin.js.JsModule(import = "foo") public fun foo(): kotlin.Int
|
|
|
|
@kotlin.js.JsModule(import = "A") public final class A {
|
|
public constructor A()
|
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|
|
|
|
@kotlin.js.JsModule(import = "B") public object B {
|
|
private constructor B()
|
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|
|
}
|