<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/errors/pattern-capture-in-alt-hash.txt, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Handle deeply nested capture variables syntax err</title>
<updated>2025-11-17T02:30:24+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-11-16T21:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8d0105824f1cf722c1319496ed903b6a18efdafe'/>
<id>8d0105824f1cf722c1319496ed903b6a18efdafe</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
