Skip to content

Define Grammar::Rule as a regular class - #837

Merged
yui-knk merged 1 commit into
ruby:masterfrom
yui-knk:codex/rule-as-class
Oct 31, 2026
Merged

yui-knk merged 1 commit into
ruby:masterfrom
yui-knk:codex/rule-as-class

Conversation

@yui-knk

@yui-knk yui-knk commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Replace the Struct subclass with explicit accessors and a keyword initializer. Preserve nil defaults and the existing equality method, and update the generated RBS signature.

Replace the Struct subclass with explicit accessors and a keyword initializer. Preserve nil defaults and the existing equality method, and update the generated RBS signature.
@yui-knk
yui-knk merged commit 0f88077 into ruby:master Oct 31, 2026
23 checks passed
@yui-knk
yui-knk deleted the codex/rule-as-class branch October 31, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant