KT-12877: don't throw exception when @JsModule annotation is improperly used
This commit is contained in:
committed by
Alexey Andreev
parent
d40e923722
commit
df88ebb1b3
+7
@@ -0,0 +1,7 @@
|
||||
// !DIAGNOSTICS: -NO_VALUE_FOR_PARAMETER, -CONSTANT_EXPECTED_TYPE_MISMATCH
|
||||
// This should not crash
|
||||
package foo
|
||||
|
||||
@JsModule @native fun foo(x: Int): Int
|
||||
|
||||
@JsModule(23) @native fun bar(x: Int): Int
|
||||
Reference in New Issue
Block a user