Add "simplify if with constant" inspection #KT-17919 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
7634673213
commit
cb19a86c44
@@ -0,0 +1,8 @@
|
||||
fun foo(s: String) {}
|
||||
|
||||
fun bar() {
|
||||
if (<caret>true) {
|
||||
foo("a")
|
||||
foo("b")
|
||||
} else 2
|
||||
}
|
||||
Reference in New Issue
Block a user