ruby/lib/prism
Earlopain 769cccba56 [ruby/prism] Fix parser translator scope issues for implicit hash values
`builder.pair_label` is no good since it makes use of variables that the parser gem encountered.
Since the prism translator doesn't keep proper track of that information, the following code interprets
the implicit value as a local variable, even though it is not in scope:

```rb
def foo
  bar = 123
end

{ bar: }
```

bbeb5b083a
2025-01-20 18:03:13 +00:00
..
parse_result [ruby/prism] Bump typechecking deps 2024-12-11 19:50:20 +00:00
polyfill [ruby/prism] Prism::Location#adjoin 2024-05-03 19:14:03 +00:00
translation [ruby/prism] Fix parser translator scope issues for implicit hash values 2025-01-20 18:03:13 +00:00
desugar_compiler.rb [PRISM] Field renaming 2024-08-28 15:06:53 -04:00
ffi.rb [ruby/prism] Support forwarding flags on scopes 2025-01-14 20:31:38 +00:00
lex_compat.rb [ruby/prism] Fix up lex difference when ~ heredoc with 0 dedent and line continuation 2024-09-25 18:35:05 +00:00
node_ext.rb [ruby/prism] Reverse-sync ruby/ruby and deprecate old fields 2024-08-28 19:07:16 +00:00
pack.rb [ruby/prism] Resync RBI and test it in CI 2024-02-29 16:29:16 +00:00
parse_result.rb [ruby/prism] Support forwarding flags on scopes 2025-01-14 20:31:38 +00:00
pattern.rb [ruby/prism] Prism::Node#tunnel 2024-05-03 18:37:19 +00:00
prism.gemspec [ruby/prism] Bump to v1.3.0 2025-01-11 19:09:05 -05:00
relocation.rb [ruby/prism] Bump typechecking deps 2024-12-11 19:50:20 +00:00
string_query.rb [ruby/prism] Prism::StringQuery 2024-10-11 19:34:57 +00:00
translation.rb [ruby/prism] Support Ruby 3.5 for Prism::Translation::Parser 2024-12-26 14:15:00 +00:00