Closed headius closed 4 months ago
Rubocop had to be bumped to 3.1 to support the newer pattern syntax. Bumping to 3.3 brought out a bunch of issues with requires like 'fiber' and 'set' that are no longer needed.
Thank you, it looks great.
We could have kept the 3.1 stuff in eval's (would address RuboCop and not need a separate file), but anyway I guess we'll make ruby/spec 3.1+ soon since 3.0 is EOL now.
At that point we can also put language/pattern_matching/3.1.rb
back in language/pattern_matching_spec.rb
.
Some evals remain for SyntaxError tests that would not parse in the main script.
Most of this was done using automated tools so a few irrelevant formatting changes may have crept in.
Fixes #1152