Files
kotlin-fork/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt3501.kt
T
2014-02-11 21:07:10 +04:00

9 lines
236 B
Kotlin
Vendored

//KT-3501 Variable/parameter is highlighted as unused if it is used in member of local class
fun f(p: String) { // "p" is marked as unused
class LocalClass {
fun f() {
<!UNUSED_EXPRESSION!>p<!>
}
}
}