• v0.22.0
    ci / checks (push) Successful in 49s
    ci / corpus (push) Successful in 19s
    release / build-and-publish (push) Successful in 4m51s
    Stable

    lucio released this 2026-09-01 20:19:23 -07:00 | 241 commits to master since this release

    Class member access — the first DV class-semantics round.

    task class2::update(c1 in_item); address = in_item.user_id; … —
    hovering user_id used to show nothing. Now the tail of handle.member
    resolves through the handle's declared type: a new Symbol::type_name
    records the type as written; the member is found in that class's scope,
    else up its extends chain in the file, else through the workspace's
    member table, which chases WorkspaceIndex::base_of — a subclass→base
    map built from the inheritance census the index already keeps —
    cycle-guarded on both sides. Hover shows rand bit user_id; with its
    file and line; go-to-definition, find-references (from either end) and
    rename follow. this.x/super.x misses 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 answering bus_t s; s.field from an unrelated class named
    bus_t elsewhere. Module-instance heads, chains a.b.c, struct fields
    and typedef'd class aliases are round 2.

    Cost: hover 7–143 µs; on opentitan a tl_seq_item member resolves in
    0.12 ms cold / 0.01 ms warm; store +2.85 %. Formatter output unchanged.

    Downloads