Repository navigation
feat(sv): implement enumerated type methods - #2390
mergify[bot] merged 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ed2b9d6f9d
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
ed2b9d6 to
cd1394e
Compare
Revision history
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd1394eb72
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
cd1394e to
0401272
Compare
|
This pull request is part of a Mergify stack:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0401272a9e
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Queued — the merge queue status continues in this comment ↓. |
0401272 to
5ffe2da
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5ffe2dac00
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
5ffe2da to
da515c5
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da515c55b8
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
da515c5 to
6cd2716
Compare
6cd2716 to
5ebeb58
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5ebeb580ef
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
5ebeb58 to
4d39d87
Compare
4d39d87 to
0a02620
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a02620edf
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
0a02620 to
9ee3c10
Compare
❌ Left the queue ·
|
| Condition | Required by | |
|---|---|---|
| ❌ | check-success = Conventional Commit title |
— |
| ❌ | check-success = Queue validation |
— |
| ❌ | any of: check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format, check-success = @github-actions/Lint & Format |
GitHub repository ruleset rule master |
| ❌ | any of: check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build, check-success = @github-actions/Rust Test & NAPI Build |
GitHub repository ruleset rule master |
| ❌ | any of: check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu), check-success = @github-actions/JS Test (Ubuntu) |
GitHub repository ruleset rule master |
| ❌ | any of: check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title, check-success = @github-actions/Conventional Commit title |
GitHub repository ruleset rule master |
| ❌ | any of: check-neutral = @github-actions/Queue validation, check-skipped = @github-actions/Queue validation, check-success = @github-actions/Queue validation |
GitHub repository ruleset rule master |
Requeued — the merge queue status continues in this comment ↓.
Times in UTC · dashboard · how the merge queue works
Enum-typed expressions accept `first`, `last`, `next(N)`, `prev(N)`, `num`
and `name` (IEEE 1800-2023 6.19.5), with or without parentheses (6.19.5.7),
on variables, array and container elements, class properties, static
properties, function and method results, casts, enum constants and the
results of other enum methods.
Types now carry the members of an enumeration with their names, base
width, signedness and state count. The methods bind to a new
`Callee::Lookup` IR call that evaluates its selector once and returns the
value of the first key it matches by case equality, else a default; the
frontend lowers it to multiplexers whose selector copies share one node.
A receiver with side effects therefore runs once, and only designs that
call these methods pay for them.
`next`/`prev` wrap around and take the count modulo the number of
members; a value that is no member, including one with unknown bits,
gives the base type's default initial value ('x for a 4-state base,
Table 6-7). `name` returns the empty string for such a value (6.19.5.6).
Change-Id: Icf20fb1bef13ec48958bd50e14f82790e72f516a
9ee3c10 to
936bdda
Compare
✅ Merged into
|
| Condition | |
|---|---|
| ✅ | depends-on=celox-sim/celox#2390 |
The batch, tested on draft #2468
| 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
Enum-typed expressions accept
first,last,next(N),prev(N),numand
name(IEEE 1800-2023 6.19.5), with or without parentheses (6.19.5.7),on variables, array and container elements, class properties, static
properties, function and method results, casts, enum constants and the
results of other enum methods.
Types now carry the members of an enumeration with their names, base
width, signedness and state count. The methods bind to a new
Callee::LookupIR call that evaluates its selector once and returns thevalue of the first key it matches by case equality, else a default; the
frontend lowers it to multiplexers whose selector copies share one node.
A receiver with side effects therefore runs once, and only designs that
call these methods pay for them.
next/prevwrap around and take the count modulo the number ofmembers; a value that is no member, including one with unknown bits,
gives the base type's default initial value ('x for a 4-state base,
Table 6-7).
namereturns the empty string for such a value (6.19.5.6).