KT-12284 "Add braces to else" has too wide range

#KT-12284 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-05-11 20:48:15 +03:00
parent 618b1b9a2a
commit 9afb0d5f59
3 changed files with 22 additions and 0 deletions
@@ -0,0 +1,11 @@
// IS_APPLICABLE: false
fun foo(p: Int) {
if (p == 1) {
}
else if (p == 2) {
bar()<caret>
}
}
fun bar(){}