Condition of 'if' expression is constant: don't report when condition has named reference
#KT-27651 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
bfb5efd490
commit
6ee4b5e393
@@ -0,0 +1,7 @@
|
||||
// PROBLEM: none
|
||||
const val s = "debug"
|
||||
|
||||
fun main() {
|
||||
if (<caret>s == "debug") {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user