[FIR JS] Prepare the test data for FIR
This commit is contained in:
committed by
Space Team
parent
0e38d0ebd2
commit
73c89a5d9d
+7
@@ -0,0 +1,7 @@
|
||||
// !DIAGNOSTICS: -NO_VALUE_FOR_PARAMETER, -CONSTANT_EXPECTED_TYPE_MISMATCH
|
||||
// This should not crash, see KT-14752
|
||||
package foo
|
||||
|
||||
@JsName fun foo(x: Int) = x
|
||||
|
||||
@JsName(<!ARGUMENT_TYPE_MISMATCH!>23<!>) fun bar(x: Int) = x
|
||||
Reference in New Issue
Block a user