Unused symbol: do not report for @JsName annotated declarations
#KT-17368 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
7abd0831a1
commit
905d0c1016
@@ -0,0 +1,12 @@
|
||||
// PROBLEM: none
|
||||
// JS
|
||||
class Person(val name: String) {
|
||||
fun hello() {
|
||||
println("Hello $name!")
|
||||
}
|
||||
|
||||
@JsName("helloWithGreeting")
|
||||
fun <caret>hello(greeting: String) {
|
||||
println("$greeting $name!")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user