KT-2190 Highlight usages invoked on "throw" or "return" should highlight all exit-points of function
#KT-2190 fixed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
fun f(a: Int): Int {
|
||||
fun localFun() {
|
||||
return
|
||||
}
|
||||
|
||||
if (a < 5) {
|
||||
return 1
|
||||
}
|
||||
else {
|
||||
<caret>return 2
|
||||
}
|
||||
}
|
||||
|
||||
//HIGHLIGHTED: return 1
|
||||
//HIGHLIGHTED: return 2
|
||||
Reference in New Issue
Block a user