KT-12877: don't throw exception when @JsModule annotation is improperly used

This commit is contained in:
Alexey Andreev
2016-11-29 15:04:31 +03:00
committed by Alexey Andreev
parent d40e923722
commit df88ebb1b3
4 changed files with 29 additions and 3 deletions
@@ -0,0 +1,6 @@
package
package foo {
@kotlin.js.JsModule(import = 23) @kotlin.js.native public fun bar(/*0*/ x: kotlin.Int): kotlin.Int
@kotlin.js.JsModule @kotlin.js.native public fun foo(/*0*/ x: kotlin.Int): kotlin.Int
}