K2 IC: fix class members lookups recording
in particular - statics #KTIJ-24830 fixed
This commit is contained in:
committed by
Space Team
parent
1989e8f094
commit
fe4e0e9c2e
@@ -11,27 +11,27 @@ import baz.*
|
||||
/*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*/C.sfunc()
|
||||
/*p:bar p:bar(S) p:baz p:foo*/C.S()
|
||||
/*p:bar p:bar.C(sfield) p:baz p:foo*/C.sfield
|
||||
/*p:bar p:bar.C(sfield) p:baz p:foo*/C.sfield = "new"
|
||||
/*p:bar p:bar.C(sfunc) p:baz p:foo*/C.sfunc()
|
||||
/*p:bar p:bar(S) p:bar.C(S) p:baz p:foo*/C.S()
|
||||
|
||||
// inherited from I
|
||||
/*p:bar.C(ifunc)*/c.ifunc()
|
||||
/*p:bar p:baz p:foo*/C.isfield
|
||||
/*p:bar p:bar.C(isfield) 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()
|
||||
/*p:bar p:bar(IS) p:bar.C(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)*/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 p:foo.I(isfield)*/I.isfield
|
||||
/*p:bar p:baz p:foo p:foo(IS) p:foo.I(IS)*/I.IS()
|
||||
|
||||
/*p:bar p:baz p:foo*/E.F
|
||||
/*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()
|
||||
/*p:bar p:baz p:baz.E(F) p:foo*/E.F
|
||||
/*p:bar p:baz p:baz.E(F) p:baz.E(field) p:foo*/E.F.field
|
||||
/*p:bar p:baz p:baz.E(S) p:baz.E(func) p:foo*/E.S.func()
|
||||
}
|
||||
|
||||
fun classifiers(
|
||||
|
||||
Reference in New Issue
Block a user