K2JS: test that UNUSED_PARAM warnings inside native declarations and all warnings from stdlib was suppressed.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
native
|
||||
fun foo(a: String): Int = noImpl
|
||||
|
||||
native
|
||||
class Bar(b: Int, c: Char) {
|
||||
fun baz(d: Int) {}
|
||||
}
|
||||
|
||||
native
|
||||
object Obj {
|
||||
fun test1(e: String) {}
|
||||
object Nested {
|
||||
fun test2(g: Int) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user