K2 IC: filter out builtins lookups
Do not record lookups to kotlin builtins, since it is considered useless. Related to #KT-66417
This commit is contained in:
committed by
Space Team
parent
5b62558798
commit
684d0b8690
@@ -6,32 +6,32 @@ import baz.*
|
||||
/*p:foo*/fun usages() {
|
||||
val c = /*p:bar*/C()
|
||||
|
||||
/*p:bar.C(field) p:kotlin(Int)*/c.field
|
||||
/*p:bar.C(field) p:kotlin(Int)*/c.field = 2
|
||||
/*p:bar.C(func) p:kotlin(Unit)*/c.func()
|
||||
/*p:bar.C(field)*/c.field
|
||||
/*p:bar.C(field)*/c.field = 2
|
||||
/*p:bar.C(func)*/c.func()
|
||||
/*p:bar(B) p:bar.C(B) p:bar.C.B(B)*/c.B()
|
||||
|
||||
/*p:bar p:baz p:foo*/C.sfield
|
||||
/*p:bar p:baz p:foo*/C.sfield = "new"
|
||||
/*p:bar p:baz p:foo p:kotlin(Unit)*/C.sfunc()
|
||||
/*p:bar p:baz p:foo*/C.sfunc()
|
||||
/*p:bar p:bar(S) p:baz p:foo*/C.S()
|
||||
|
||||
// inherited from I
|
||||
/*p:bar.C(ifunc) p:kotlin(Unit)*/c.ifunc()
|
||||
/*p:bar.C(ifunc)*/c.ifunc()
|
||||
/*p:bar p:baz p:foo*/C.isfield
|
||||
// expected error: Unresolved reference: IS
|
||||
/*p:bar p:bar(IS) p:baz p:baz(IS) p:foo p:foo(IS)*/C.IS()
|
||||
|
||||
|
||||
val i: /*p:bar p:baz p:foo*/I = c
|
||||
/*p:foo.I(ifunc) p:kotlin(Unit)*/i.ifunc()
|
||||
/*p:foo.I(ifunc)*/i.ifunc()
|
||||
|
||||
/*p:bar p:baz p:foo*/I.isfield
|
||||
/*p:bar p:baz p:foo p:foo(IS)*/I.IS()
|
||||
|
||||
/*p:bar p:baz p:foo*/E.F
|
||||
/*p:bar p:baz p:baz.E(field) p:foo p:kotlin(Int)*/E.F.field
|
||||
/*p:bar p:baz p:baz.E(func) p:foo p:kotlin(Unit)*/E.S.func()
|
||||
/*p:bar p:baz p:baz.E(field) p:foo*/E.F.field
|
||||
/*p:bar p:baz p:baz.E(func) p:foo*/E.S.func()
|
||||
}
|
||||
|
||||
fun classifiers(
|
||||
|
||||
Reference in New Issue
Block a user