mirror of
https://github.com/ruby/ruby.git
synced 2026-01-29 05:24:23 +00:00
When there are nested capture variables inside of a pattern match that has an alternation pattern, it is a syntax error. Currently it only adds a syntax error when it is at the top level of the pattern.
2 lines
112 B
Ruby
2 lines
112 B
Ruby
exclude(:test_alternative_pattern_nested, "Changes here for syntax errors") if RUBY_DESCRIPTION.include?("+GC")
|