[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// 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()
|
||||
Reference in New Issue
Block a user