All five briefed bugs fixed, plus a sixth found during the work:
1. Block-comment continuation drift: token::Comment gained line/col;
continuation lines are dedented by the comment's original column
before re-indenting, making reformatting a true fixed point while
preserving the author's relative indentation inside the comment.
2. Comments inside expression groups (concat, parens, call args,
assignment patterns, binary operands) now force the group to break
instead of being lifted out.
3. Closing block labels preserved for end/join*/endfunction/endtask/
endpackage, matching endmodule.
4. Multi-instance declarations fit on one line when they fit and
indent their continuations when they break.
5. @( /* c */ * ) keeps its comments (SensList::Star before/after).
6. Multi-line `define/attribute bodies no longer drift (RawText.col).
verify.rs comparison logic untouched (diagnostic positions only) —
QA audited the diff to confirm the safety net was not weakened.
All four #SKIP cases un-skipped verbatim as spec; 17 cases added
(183 -> 200, 0 skipped). QA triple-formatted 204 inputs with zero
regressions. Clippy is now fully silent workspace-wide.
Remaining comment-placement refusals (4) and a pre-existing @(* )
lexer limitation are documented as open items, not hacked around.
Dev: Opus agent; QA: Sonnet agent; review in
docs/features/formatter-bug-fixes/README.md.
Co-Authored-By: Claude Fable 5 <[email protected]>