[FIR JS] Prepare the test data for FIR
This commit is contained in:
committed by
Space Team
parent
0e38d0ebd2
commit
73c89a5d9d
+2
-1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
external fun foo(a: String): Int = definedExternally
|
||||
|
||||
external class Bar(b: Int, c: Char) {
|
||||
@@ -9,4 +10,4 @@ external object Obj {
|
||||
object Nested {
|
||||
fun test2(g: Int) { definedExternally }
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -DEPRECATION
|
||||
@nativeGetter
|
||||
fun Int.foo(a: String): Int? = definedExternally
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -DEPRECATION
|
||||
@nativeInvoke
|
||||
fun Int.foo(a: String): Int = definedExternally
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -DEPRECATION
|
||||
@nativeSetter
|
||||
fun Int.foo(a: String, v: Int): Int = definedExternally
|
||||
|
||||
Reference in New Issue
Block a user