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