summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyvm.rb
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2026-01-08 13:47:35 +0100
committergit <svn-admin@ruby-lang.org>2026-01-08 18:35:26 +0000
commit16863f2ec1c8cefd852965e58acfcfd61b0194b9 (patch)
treedd0e27e2ee83a81c6b0f5779c8415dc803e95370 /test/ruby/test_rubyvm.rb
parentfc66de3e6b5e28c017c3cffac77a66d680d679a4 (diff)
[ruby/prism] Decouple ripper translator from ripper library
Ripper exposes Ripper::Lexer:State in its output, which is a bit of a problem. To make this work, I basically copy-pasted the implementation. I'm unsure if that is acceptable and added a test to make sure that these values never go out of sync. I don't imagine them changing often, prism maps them 1:1 for its own usage. This also fixed the shim by accident. `Ripper.lex` went to `Translation::Ripper.lex` when it should have been the original. Removing the need for the original resolves that issue. https://github.com/ruby/prism/commit/2c0bea076d
Diffstat (limited to 'test/ruby/test_rubyvm.rb')
0 files changed, 0 insertions, 0 deletions