Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/native/unusedParam/nativeGetter.kt
T

19 lines
352 B
Kotlin
Vendored

// !DIAGNOSTICS: -DEPRECATION
@nativeGetter
fun Int.foo(a: String): Int? = noImpl
external class Bar(b: Int, c: Char) {
@nativeGetter
fun baz(d: Int): Any? = noImpl
}
external object Obj {
@nativeGetter
fun test1(e: String): String? = noImpl
object Nested {
@nativeGetter
fun test2(g: Int): Any? = noImpl
}
}