Fix fq-names of top-level extensions in intentions.

This commit is contained in:
Ilya Gorbunov
2015-12-07 05:40:50 +03:00
parent 5df94da216
commit d296d91272
12 changed files with 90 additions and 8 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
fun foo() {
val x = "abcd"
x.forEach<caret> { it.equals('a') }
}
@@ -0,0 +1,8 @@
// WITH_RUNTIME
fun foo() {
val x = "abcd"
for (it in x) {
it.equals('a')
}
}
@@ -0,0 +1,6 @@
// WITH_RUNTIME
fun foo() {
val x = (1..4).asSequence()
x.forEach<caret> { it.equals(1) }
}
@@ -0,0 +1,8 @@
// WITH_RUNTIME
fun foo() {
val x = (1..4).asSequence()
for (it in x) {
it.equals(1)
}
}