ConstantConditionIfInspection.replaceWithBranch shouldn't remove subjectVariable with side effects
Relates to #KT-30975
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
fun println(s: String) {}
|
||||
|
||||
fun foo() {
|
||||
<caret>println("")
|
||||
println("")
|
||||
1
|
||||
}
|
||||
Reference in New Issue
Block a user