Files
kotlin-fork/idea/testData/android/quickfix/autoImports/androidRImport.after.kt
T
Dmitry Jemerov 265e765ec9 Allow to exclude specific qualified names from import in tests
In tests, ImportFix imports the first available candidate. This can
lead to non-deterministic tests when multiple candidates are available.
With this fix, unwanted candidates can be excluded.
2017-03-27 19:48:59 +02:00

11 lines
214 B
Kotlin
Vendored

// "Import" "true"
// ERROR: Unresolved reference: R
// DO_NOT_IMPORT: android.support.v7.appcompat.R
package com.myapp.activity
import com.myapp.R
fun test() {
val a = <caret>R.layout.activity_test_kotlin
}