Skip to content

Make SymbolNode#value_loc non-optional - #4220

Open
Earlopain wants to merge 1 commit into
ruby:mainfrom
Earlopain:symbol-value-required
Open

Make SymbolNode#value_loc non-optional#4220
Earlopain wants to merge 1 commit into
ruby:mainfrom
Earlopain:symbol-value-required

Conversation

@Earlopain

@Earlopain Earlopain commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Sort of a followup for 929aec1 / #3772

It changed the value for :'' into nil/null, which is a bit inconvenient. For syntax-valid code I expect it to always be present.

It's also inconsistent with StringNode. In effect, this reverts the snapshots changes and the two changes in ruby for the ripper/parser compiler.

Sort of a followup for ruby@929aec1

It changed the value for `:''` into nil/null, which is a bit inconvenient.
For syntax-valid code I expect it to always be present.

It's also inconsistent with `StringNode`. In effect,
this reverts the snapshots changes and the two changes
in ruby for the ripper/parser compiler.
@Earlopain
Earlopain force-pushed the symbol-value-required branch from 7218c9e to 5c06479 Compare September 4, 2026 09:08
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