diff --git a/idea/testData/inspectionsLocal/unusedSymbol/jsExport.kt b/idea/testData/inspectionsLocal/unusedSymbol/jsExport.kt index aaab4812232..07ae4e93dd9 100644 --- a/idea/testData/inspectionsLocal/unusedSymbol/jsExport.kt +++ b/idea/testData/inspectionsLocal/unusedSymbol/jsExport.kt @@ -1,12 +1,14 @@ // PROBLEM: none // JS -class Person(val name: String) { - fun hello() { - println("Hello $name!") - } - @JsExport - fun hello(greeting: String) { - println("$greeting $name!") - } +val name: String = "" + +fun hello() { + println("Hello $name!") +} + +@JsExport +@JsName("other") +fun hello(greeting: String) { + println("$greeting $name!") } \ No newline at end of file