EA-105522, KT-20256: Fix TextRange.<init> "Invalid range specified"
Check when caret inside template, and don't try to create invalid range then EA-105522 fixed #KT-20256 fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
|
||||
fun foo() {
|
||||
val aaa = ""
|
||||
val y = "$a<caret>aaa"
|
||||
}
|
||||
|
||||
// ELEMENT: aaa
|
||||
Reference in New Issue
Block a user