-
v0.45.0
Stablereleased this
2026-09-05 11:35:57 -07:00 | 145 commits to master since this releaseCross-file semantics: type spans, re-exports, hierarchical tails
- Type names carry spans. Every
DataTypeanddisabletarget knows
its range on the AST; the semantic crate's text scanner (scan.rs) is
deleted. Definition and hover on a type name land exactly,pkg::t
selectingt; a segment the source spells differently from the
parser's join is recorded with an empty range rather than guessed. - Package re-exports are real references.
export pkg::item;and
export pkg::*;bind both halves, the index records each package's
re-exports, and definition, hover, completion afterpkg::, references
and rename follow them transitively. On opentitan a name reached only
throughexport spi_device_reg_pkg::SramDepth;now resolves. - Renaming an internal net edits its hierarchical uses in other files.
A module now has a hierarchical surface (nets, variables, instances)
read only behind an instance head —assign w = u_x.sig;in another
file renames withsig's declaration, nestedu_a.u_b.sigincluded —
while connection lists still see ports and parameters only. Completion
afteru_x.in an expression lists the hierarchical members. Over
opentitan'shw/, 514 hierarchical references resolve that did not
before; a rename that now reaches one more file costs one more file's
read. - The index facts format is 19; stores written by earlier releases are
rebuilt on first use.
Downloads
- Type names carry spans. Every