Repository navigation
Rename Ast_untagged_variants to Runtime_attributes - #9514
Conversation
The module reads and checks every attribute that sets a value's runtime representation (@as, @tag, @unboxed, @notundefined, @instanceof, @typeof, class annotations, and the __proto__ field name check), not just untagged variants. The new name says that and matches Record_runtime and Variant_runtime. No behaviour changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kbf3gL4qcnMmoKbamLEyfN Signed-off-by: Christoph Knittel <ck@cca.io>
Changelog🏠 Internal
Semantic Diff1 commit · Full page Rename Ast_untagged_variants to Runtime_attributes74b8aaf · cknitt + Claude · Dec 03, 2026, 12:13 UTC The module reads and checks every attribute that sets a value's runtime representation ( |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9514 +/- ##
==========================================
- Coverage 82.54% 82.54% -0.01%
==========================================
Files 469 469
Lines 66229 66227 -2
==========================================
- Hits 54671 54669 -2
Misses 11558 11558
🚀 New features to boost your workflow:
|
✅ Compiler benchmarksAllocated wordsIn total: 653,024,965 → 653,024,670 (±0.00%). Generated projects: 627,284,147 → 627,284,326 (±0.00%). None of the 265 benchmarks changed by 0.1% or more. InstructionsIn total: 8,964,744,008 → 8,965,491,649 (+0.01%).
Output sizeIn total: 27,427,708 → 27,427,693 (±0.00%). None of the 13 benchmarks changed by 0.1% or more. Pull request 74b8aaf compared with base fe8c75b in this run. |
rescript
@rescript/belt
@rescript/darwin-arm64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
|
Developer playground preview: https://rescript-lang.github.io/rescript/dev-playground/?version=pr-9514 |
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Ast_untagged_variantsreads and checks every attribute that sets how a value is represented at runtime, not just those for untagged variants:@as,@tagand@unboxed@notUndefined,@instanceOf,@typeOfand the class annotations__proto__field name check from Reject __proto__ as the JavaScript name of a field #9513Runtime_attributessays that, and fits next toRecord_runtimeandVariant_runtime. I didn't chooseRuntime_annotationsbecause the module already uses "runtime annotation" for the narrower@notUndefined/@instanceOf/@typeOf/class group.Only the file and its references change: 13 files, including
UntaggedVariants.mdand an ounit test. The module also gets a short header comment. No behaviour changes.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kbf3gL4qcnMmoKbamLEyfN