[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+58
@@ -0,0 +1,58 @@
|
||||
// MODULE: m1
|
||||
// FILE: a.kt
|
||||
package a
|
||||
|
||||
class b {
|
||||
fun a_b() {}
|
||||
}
|
||||
|
||||
// MODULE: m2
|
||||
// FILE: b.kt
|
||||
package some
|
||||
|
||||
class a {
|
||||
class b {
|
||||
fun some_ab() {}
|
||||
}
|
||||
}
|
||||
|
||||
// MODULE: m3(m1, m2)
|
||||
// FILE: c1.kt
|
||||
package other
|
||||
|
||||
class a {}
|
||||
|
||||
fun test(a_: a.b) {
|
||||
a_.a_b()
|
||||
|
||||
val a_2 = a.<!UNRESOLVED_REFERENCE!>b<!>()
|
||||
a_2.<!UNRESOLVED_REFERENCE!>a_b<!>()
|
||||
a_2.<!UNRESOLVED_REFERENCE!>some_ab<!>()
|
||||
a_2.<!UNRESOLVED_REFERENCE!>a_<!>()
|
||||
}
|
||||
|
||||
// FILE: c2.kt
|
||||
package other2
|
||||
|
||||
class a {
|
||||
class b {
|
||||
fun other2_ab() {}
|
||||
}
|
||||
}
|
||||
|
||||
fun test(_ab: a.b) {
|
||||
_ab.other2_ab()
|
||||
|
||||
val _ab2 = a.b()
|
||||
_ab2.other2_ab()
|
||||
}
|
||||
|
||||
// FILE: c3.kt
|
||||
package some
|
||||
|
||||
fun test(_ab: a.b) {
|
||||
_ab.some_ab()
|
||||
|
||||
val _ab2 = a.b()
|
||||
_ab2.some_ab()
|
||||
}
|
||||
Reference in New Issue
Block a user