ruby/test/.excludes/TestPatternMatching.rb
Kevin Newton 8d0105824f Handle deeply nested capture variables syntax err
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.
2025-11-16 21:30:24 -05:00

2 lines
112 B
Ruby

exclude(:test_alternative_pattern_nested, "Changes here for syntax errors") if RUBY_DESCRIPTION.include?("+GC")