Skip to content

fix(sv): parse virtual method qualifiers before visibility - #2276

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-method-qualifier-order/parse-virtual-method-qualifiers-visibility--f3a02ca1
Oct 27, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-method-qualifier-order/parse-virtual-method-qualifiers-visibility--f3a02ca1

Conversation

@tignear

@tignear tignear commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

UVM declares methods as virtual protected function, which was mistaken for a class property and rejected as a reserved identifier. Look through method qualifiers when classifying the declaration, and keep virtual as part of a virtual-interface property's type.

Cover both visibility orders for functions and tasks in compilation-unit, module and package classes, preserving method flags and interface type metadata. Validated with syntax tests, class regressions across all five backends, formatting and clippy. The upstream UVM agent case now passes parsing in both state modes; this does not claim UVM simulation support.

Update exactly 16 sv-tests expectation rows (8 generated UVM class parsing cases in both state modes). The full 3300-verdict CI artifact confirms these are the only changes; all are positive parsing tests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T13:44:13.094455Z 65ec095 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 27, 2026
UVM declares methods as `virtual protected function`, which was mistaken for a class property and rejected as a reserved identifier. Look through method qualifiers when classifying the declaration, and keep `virtual` as part of a virtual-interface property's type.

Cover both visibility orders for functions and tasks in compilation-unit, module and package classes, preserving method flags and interface type metadata. Validated with syntax tests, class regressions across all five backends, formatting and clippy. The upstream UVM agent case now passes parsing in both state modes; this does not claim UVM simulation support.

Update exactly 16 sv-tests expectation rows (8 generated UVM class parsing cases in both state modes). The full 3300-verdict CI artifact confirms these are the only changes; all are positive parsing tests.

Change-Id: If3a02ca130bf709e605f3242f9616cae23411e81
@tignear
tignear force-pushed the stack/tignear/fix/sv-method-qualifier-order/parse-virtual-method-qualifiers-visibility--f3a02ca1 branch from 3dd0603 to 65ec095 Compare October 27, 2026 13:42
@tignear

tignear commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 3dd0603 2026-10-27 13:42 UTC
2 content 3dd0603 → 65ec095 Accept the 16 positive parsing improvements confirmed by the full sv-tests CI artifact; no other verdict changes. 2026-10-27 13:42 UTC

@mergify mergify Bot added the queued Mergify queue entry label Oct 27, 2026
@mergify

mergify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as 6f10c4a at 14:21 UTC

Merged together with #2271. 13 min in the queue, 11 min of it CI.

So far

Merge conditions: 7 of 7 met

The batch, tested on draft #2284

Condition Required by
✅ check-success = Conventional Commit title —
✅ check-success = Queue validation —
✅ any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Queue validation, check-neutral = @github-actions/Queue validation, check-skipped = @github-actions/Queue validation GitHub repository ruleset rule master

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit 6f10c4a into master Oct 27, 2026
25 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/sv-method-qualifier-order/parse-virtual-method-qualifiers-visibility--f3a02ca1 branch October 27, 2026 14:21
@mergify mergify Bot removed the queued Mergify queue entry label Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant