[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//KT-2014 Better diagnostic when using property syntax to call a method
|
||||
package c
|
||||
|
||||
class Foo {
|
||||
fun prop() : Int = 1
|
||||
fun bar(i: Int) : Int = i
|
||||
|
||||
val a : Int = 1
|
||||
}
|
||||
|
||||
fun x(f : Foo) {
|
||||
f.<!UNRESOLVED_REFERENCE!>prop<!>
|
||||
f.<!UNRESOLVED_REFERENCE!>bar<!>
|
||||
|
||||
f.<!UNRESOLVED_REFERENCE!>a<!>()
|
||||
<!UNRESOLVED_REFERENCE!>c<!>()
|
||||
<!INAPPLICABLE_CANDIDATE!>R<!>()
|
||||
}
|
||||
|
||||
object R {}
|
||||
Reference in New Issue
Block a user