JS frontend: added tests for nativeInvoke, nativeGetter, nativeSetter.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun foo() {
|
||||
[nativeInvoke]
|
||||
fun Int.ext() = 1
|
||||
|
||||
[nativeInvoke]
|
||||
fun Int.invoke(a: String, b: Int) = "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user