[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// !CHECK_TYPE
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE
|
||||
|
||||
class A {
|
||||
fun foo() = this
|
||||
}
|
||||
|
||||
|
||||
fun test(a: A) {
|
||||
fun A.foo() = 4
|
||||
|
||||
a.foo() checkType { <!UNRESOLVED_REFERENCE!>_<!><A>() }
|
||||
|
||||
with(a) {
|
||||
foo() checkType { _<A>() }
|
||||
this.foo() checkType { _<A>() }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user