2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
16 lines
299 B
Kotlin
Vendored
16 lines
299 B
Kotlin
Vendored
// KT-3563 Compiler requiring java.io.File, and it's unclear why
|
|
|
|
package bar
|
|
|
|
import java.io.File
|
|
|
|
class Customer(name1: String)
|
|
|
|
fun foo(f: File, c: Customer) {
|
|
f.name1
|
|
|
|
c.<!INAPPLICABLE_CANDIDATE!>name1<!> // name1 should be unresolved here
|
|
}
|
|
|
|
val File.name1: String
|
|
get() = getName() |