-
v0.22.0
Stablereleased this
2026-09-01 20:19:23 -07:00 | 241 commits to master since this releaseClass member access — the first DV class-semantics round.
task class2::update(c1 in_item); address = in_item.user_id; …—
hoveringuser_idused to show nothing. Now the tail ofhandle.member
resolves through the handle's declared type: a newSymbol::type_name
records the type as written; the member is found in that class's scope,
else up itsextendschain in the file, else through the workspace's
member table, which chasesWorkspaceIndex::base_of— a subclass→base
map built from the inheritance census the index already keeps —
cycle-guarded on both sides. Hover showsrand bit user_id;with its
file and line; go-to-definition, find-references (from either end) and
rename follow.this.x/super.xmisses resolve to inherited members
through the same chase (the open handshake since the classes wave), and
an out-of-class method body sees its class's members.FACTS_FORMAT
5 → 6 (the reference census grew; older stores are discarded).Honest by construction: a head whose type is declared in the file as
anything without a member scope — a struct typedef, an alias, an enum —
records nothing rather than reaching the workspace, after QA caught the
first cut answeringbus_t s; s.fieldfrom an unrelated class named
bus_telsewhere. Module-instance heads, chainsa.b.c, struct fields
and typedef'd class aliases are round 2.Cost: hover 7–143 µs; on opentitan a
tl_seq_itemmember resolves in
0.12 ms cold / 0.01 ms warm; store +2.85 %. Formatter output unchanged.Downloads