correctly implement JetSimpleNameReference.getTextRange() so that it doesn't include the @ character for references in labels

#KT-7560 Fixed
This commit is contained in:
Dmitry Jemerov
2015-04-29 19:11:31 +02:00
committed by Alexey Sedunov
parent ca8fb53ccd
commit 093878bd06
4 changed files with 19 additions and 1 deletions
@@ -0,0 +1,5 @@
fun xyzzy(): Any {
fun b<caret>ar(): Int {
return@bar 1
}
}
@@ -0,0 +1,5 @@
fun xyzzy(): Any {
fun foo(): Int {
return@foo 1
}
}