summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared/intersection.rb
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2024-04-28 12:23:22 +0200
committergit <svn-admin@ruby-lang.org>2024-05-03 12:53:01 +0000
commit32b1dea5665a6d1cf82e39af7bffb48172399205 (patch)
tree34729e38dfcc419f381b03e4904a3d2fbda94d89 /spec/ruby/core/array/shared/intersection.rb
parent7c029f612fda0a73705066f4c50759224026a0e2 (diff)
[ruby/prism] Assume an eval context for `Prism::Translation::Parser`
This is similar to https://github.com/davidwessman/syntax_tree-erb/issues/81 but for RuboCop The parser gem doesn't support these types of checks, see https://github.com/whitequark/parser?tab=readme-ov-file#syntax-check-of-block-exits While this is technically a bug in the parser gem, it does increase compatibility and allows prism to be used when linting erb or haml with a RuboCop extension. https://github.com/ruby/prism/commit/6c59ae6a00
Diffstat (limited to 'spec/ruby/core/array/shared/intersection.rb')
0 files changed, 0 insertions, 0 deletions