Added call to ImportFilter in import quickfix (KT-14439)

#KT-14439 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2016-10-28 16:17:46 +03:00
parent fd6d4c352c
commit 387d5ffd73
9 changed files with 156 additions and 0 deletions
@@ -0,0 +1,10 @@
// "Import" "true"
// ERROR: Unresolved reference: R
package com.myapp.activity
import com.myapp.R
fun test() {
val a = <caret>R.layout.activity_test_kotlin
}
@@ -0,0 +1,5 @@
package com.myapp
public class R {
}
@@ -0,0 +1,5 @@
package android
public class R {
}
@@ -0,0 +1,5 @@
package android.support.v7.appcompat
public class R {
}
@@ -0,0 +1,8 @@
// "Import" "true"
// ERROR: Unresolved reference: R
package com.myapp.activity
fun test() {
val a = <caret>R.layout.activity_test_kotlin
}