Skip to content

We were quoting symbols in inspect we shouldnt have#7715

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:symbol_inspect
Mar 6, 2023
Merged

We were quoting symbols in inspect we shouldnt have#7715
enebo merged 1 commit intojruby:masterfrom
enebo:symbol_inspect

Conversation

@enebo
Copy link
Member

@enebo enebo commented Mar 6, 2023

We only checked if first char was lower case if not a special character and if so we would always quote the symbol in Symbol#inspect! (e.g. :BAD.inspect -> ":"BAD"").

@enebo enebo added this to the JRuby 9.4.2.0 milestone Mar 6, 2023
@enebo enebo merged commit a24317e into jruby:master Mar 6, 2023
@enebo enebo deleted the symbol_inspect branch March 4, 2025 18:34
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