Skip to content

feat(sv): support virtual methods, abstract classes and interface class implementation - #1724

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/string-class-heap/support-virtual-methods-abstract-classes--1f9a009a
Oct 22, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/string-class-heap/support-virtual-methods-abstract-classes--1f9a009a

Conversation

@tignear

@tignear tignear commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

A virtual method gets a dispatcher subroutine that calls the override for
the class of this (IEEE 1800-2023 8.20); calls through handles and
unqualified calls inside methods go through it, super.m calls the base's
implementation directly. A call through null is a runtime error.

virtual class cannot be constructed and a class that is not abstract must
implement every pure virtual method (8.21). A class that implements
interface classes implements each of their methods with the same return
type, or re-declares it pure when it is abstract (8.26); the parser now
keeps the implements list.

Methods called on elements of arrays of class handles and new assigned to
such an element are bound with the element's class.

Depends-On: #1696

@chatgpt-codex-connector

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 ⚠️ Failed 2026-10-22T04:25:40.331744Z
We couldn’t complete this review. Comment @codex review to try again.
f05b570 PR opened
ℹ️ 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 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(sv): support static class members, super and base constructors #1696
2 feat(sv): support virtual methods, abstract classes and interface class implementation #1724 👈
3 feat(sv)!: support interface class handles and $cast of class handles #1758

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@mergify

mergify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear
tignear force-pushed the stack/tignear/feat/string-class-heap/support-virtual-methods-abstract-classes--1f9a009a branch from f05b570 to cc6e574 Compare October 22, 2026 08:44
@tignear
tignear force-pushed the stack/tignear/feat/string-class-heap/support-static-class-members-super-base--15a7dd1a branch from e2b0181 to 44acf26 Compare October 22, 2026 08:44
@tignear

tignear commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial f05b570 2026-10-22 08:43 UTC
2 rebase f05b570 → cc6e574 (rebase only) Rebase onto master after #1688 merged; resolve the unsupported-features list in docs/guide/systemverilog.md now that real-valued delays are supported. 2026-10-22 08:43 UTC
3 content cc6e574 → 4f8b9c2 Rebase onto master after #1717, #1722, #1734, #1735, #1736 and #1744; merge limitations.json entries and the sv-tests README paragraphs, raising the sv-tests totals by the ten real-function passes. 2026-10-22 14:08 UTC
4 content 4f8b9c2 → a95ad5e Rebased onto master after #1737; raised the sv-tests totals by one for its two accepted rows. 2026-10-22 21:10 UTC

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 22, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 22, 2026
@mergify

mergify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-22 11:41 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • 🚫 Left the queue — 2026-10-22 12:06 UTC · at cc6e574638f2bbc2c62749d0da802b27ed7e509c

This pull request spent 25 minutes 45 seconds in the queue, with no time running CI.

Reason

Pull request #1724 has been dequeued

Queue conditions are not satisfied:

Hint

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

Requeued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 22, 2026
@tignear
tignear force-pushed the stack/tignear/feat/string-class-heap/support-virtual-methods-abstract-classes--1f9a009a branch from cc6e574 to 4f8b9c2 Compare October 22, 2026 14:09
@tignear
tignear force-pushed the stack/tignear/feat/string-class-heap/support-static-class-members-super-base--15a7dd1a branch from 44acf26 to 906cd37 Compare October 22, 2026 14:09
@mergify mergify Bot removed the dequeued Mergify stopped this queue entry; investigate before retrying label Oct 22, 2026
@tignear

tignear commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-22 19:03 UTC · Rule: changes · triggered by @tignear with the @mergifyio queue command
  • 🚫 Left the queue — 2026-10-22 20:25 UTC · at 4f8b9c286a522c37ea9253699ead7eae8d802e3b

This pull request spent 1 hour 21 minutes 58 seconds in the queue, with no time running CI.

Reason

The pull request conflicts with the base branch

Hint

You should update or rebase your pull request.

If you want to requeue this pull request, you can post a @mergifyio queue comment.

Requeued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added queued Mergify queue entry dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 22, 2026
…ss implementation

A virtual method gets a dispatcher subroutine that calls the override for
the class of `this` (IEEE 1800-2023 8.20); calls through handles and
unqualified calls inside methods go through it, `super.m` calls the base's
implementation directly. A call through `null` is a runtime error.

`virtual class` cannot be constructed and a class that is not abstract must
implement every pure virtual method (8.21). A class that `implements`
interface classes implements each of their methods with the same return
type, or re-declares it pure when it is abstract (8.26); the parser now
keeps the `implements` list.

Methods called on elements of arrays of class handles and `new` assigned to
such an element are bound with the element's class.

Change-Id: I1f9a009a084e52b208ecd286d6d89ebe23ac40fd
@tignear
tignear force-pushed the stack/tignear/feat/string-class-heap/support-virtual-methods-abstract-classes--1f9a009a branch from 4f8b9c2 to a95ad5e Compare October 22, 2026 21:12
@tignear
tignear force-pushed the stack/tignear/feat/string-class-heap/support-static-class-members-super-base--15a7dd1a branch from 906cd37 to 535f07b Compare October 22, 2026 21:12
@mergify mergify Bot added queued Mergify queue entry and removed dequeued Mergify stopped this queue entry; investigate before retrying labels Oct 22, 2026
@mergify

mergify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 11 minutes 5 seconds in the queue, including 1 hour 8 minutes 16 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1696 [⛓️ feat(sv): support static class members, super and base constructors #1696]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

Base automatically changed from stack/tignear/feat/string-class-heap/support-static-class-members-super-base--15a7dd1a to master October 22, 2026 23:35
@mergify
mergify Bot merged commit d7bb5a3 into master Oct 22, 2026
37 of 58 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/string-class-heap/support-virtual-methods-abstract-classes--1f9a009a branch October 22, 2026 23:36
@mergify mergify Bot removed the queued Mergify queue entry label Oct 22, 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