KT-15311 "Add Import" intention generates incorrect code

#KT-15311 fixed
This commit is contained in:
Simon Ogorodnik
2017-01-24 19:07:38 +03:00
committed by Simon Ogorodnik
parent 1613ad0505
commit cd73d17bd4
15 changed files with 126 additions and 11 deletions
+7
View File
@@ -0,0 +1,7 @@
// INTENTION_TEXT: "Add import for 'java.util.ArrayList'"
// WITH_RUNTIME
fun test() {
val myList = java.util<caret>.ArrayList<Int>()
val otherList = java.util.ArrayList<String>()
}