Coverage gaps L3, L6, L10: six language shapes, randsequence as real nodes, an opt-in uvm_field_* indent
TODO §54 (docs/features/coverage-gaps-l); closes docs/coverage_gaps.md L3, L6 and L10. The first dev stalled under machine load; a second finished from the tree. 54.1 `->>` with optional delay or event control (`StmtKind::EventTrigger`), stream `with [range]` (`ExprKind::StreamWith`), the LRM's other `casting_type`s, drive strength on a net declaration (`DataDecl::strength`, whose comment slots also fix a pre-existing refusal on an `assign` with a comment before its strength), `let` at statement position (`StmtKind::Let`), and `#(min:typ:max)` clocking skews — `ClockingSkew` as the LRM's two alternatives, `edge [delay]` | `delay` (review rework of QA's HIGH). Comment slots added to `let`, stream concatenations and the clocking grammar; the RTL gap fuzzer at 505 gaps, zero failing. 54.2 `randsequence` (it was a parse error; the keyword is new): `RandSequence` → `Production` → `Alternative` → `ProdItem` (ref, block, if, repeat, case, rand join), code blocks by the statement grammar; one production per line, alternatives aligned; the LRM's examples as cases. 54.3 `[format] uvm-utils-indent` / `lucisv.format.uvmUtilsIndent`, default off, tracking nested `_begin`/`_end` pairs; 21 corpus files change with it on, all idempotent. A short comment-free enum body already one-lines, so no key was built — the behaviour is pinned. `[format]` table tests added (review rework). `->>`'s event control is bound through the shared `bind_timing` (review rework of QA's second HIGH). 0 of 820 corpus files differ from 0.48.x with the key off; the opentitan sweep is identical; no corpus or opentitan file writes any of the new shapes. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
e1679bebc5
commit
a69a1cb528
69 files changed
+3660
-127
No files matched your search
@@ -91,14 +91,14 @@ request.
|
||||
|---|---|---|
|
||||
| L1 | `expect (@(posedge clk) prop);` — parsed as a call, not a keyword. | Probe. |
|
||||
| L2 | Tagged unions (`union tagged`, `tagged Valid`, `case … matches`). | Probe. |
|
||||
| L3 | `randsequence` production bodies. | Probe; classes README ("building for a user that does not exist" — corpus 0). |
|
||||
| ~~L3~~ | ~~`randsequence` production bodies.~~ — **closed at 0.49.0 by TODO §54.2**: `randsequence` is a real statement (`ast::randsequence` — productions, weighted alternatives, `rand join`, `repeat`, `if`/`case`, code blocks parsed as statements); the LRM's own examples are `tests/cases/randsequence.cases`. Corpus and opentitan occurrences: 0. | Probe; classes README ("building for a user that does not exist" — corpus 0). |
|
||||
| L4 | `alias` statement. | Probe. |
|
||||
| L5 | `config … endconfig`, `library`. | Probe. |
|
||||
| L6 | `->>` non-blocking event trigger; stream `with [range]`; cast bases other than a name/system call; drive strength on a net declaration; net delay written after the type; `let` at statement position; `#(min:typ:max)` clocking skew. | expressions-2 / interfaces / dv-statements READMEs, TODO §11 skips. |
|
||||
| ~~L6~~ | ~~`->>` non-blocking event trigger; stream `with [range]`; cast bases other than a name/system call; drive strength on a net declaration; net delay written after the type; `let` at statement position; `#(min:typ:max)` clocking skew.~~ — **closed at 0.49.0 by TODO §54.1** (the net-delay clause by §43.2): `->>` with its optional delay or event control, stream `with [range]`, the other `casting_type`s, drive strength on a net declaration, `let` at statement position, `#(min:typ:max)` clocking skews; `tests/cases/coverage_gaps_l6.cases`; the RTL gap fuzzer at 499 gaps, zero failing. | expressions-2 / interfaces / dv-statements READMEs, TODO §11 skips. |
|
||||
| L7 | `` `ifdef `` conditions never evaluated (both arms listed); no macro expansion; stringification passes through. | TODO §7 non-goal — by design, like Verible. |
|
||||
| ~~L8~~ | ~~Execute-command spelling of the instantiation skeleton for clients without `inlineCompletion` (topo §2.9-19).~~ — **delivered 2026-09-02 by TODO §26**: `lucisv.instantiate [uri, position, module]`, planned through the ghost's own `nearest_definition`/`plan_for`, rendered plainly and pushed as a `workspace/applyEdit`. Documented with a keymap in `editors/nvim/README.md`. | inline-instantiation README. |
|
||||
| ~~L9~~ | ~~`codeAction/resolve` laziness; `inlayHint` zero at default scope; index widen not interleaved.~~ — **delivered 2026-09-04/05 by TODO §37** (lazy resolve, 11.8× on the cursor path; the inlay zero ruled correct — `pins_if` is outside the default scope) and **ruled** (a widen stays one bar per session). | TODO §10 closed. |
|
||||
| L10 | Cosmetic: an enum body one-lined when short; `` `uvm_field_* `` lines dedented to the `` `uvm_object_utils_begin `` column (they are plain macro statements — no block for the formatter to see). | Probe observations. |
|
||||
| ~~L10~~ | ~~Cosmetic: an enum body one-lined when short; `` `uvm_field_* `` lines dedented to the `` `uvm_object_utils_begin `` column (they are plain macro statements — no block for the formatter to see).~~ — half **ruled already delivered** (a short, comment-free enum body one-lines since the body became a `Doc::Group`; pinned by `tests/format_options.rs`), half **delivered behind a key** at 0.49.0: `[format] uvm-utils-indent`, default off, 21 corpus files affected when on (TODO §54.3). | Probe observations. |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user