<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/errors, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/prism] Fix error message for block/lambda with `...` argument</title>
<updated>2026-03-06T17:02:23+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2026-02-27T10:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e7d2828fb677874fb425e6129e0c4c20acc0e1dd'/>
<id>e7d2828fb677874fb425e6129e0c4c20acc0e1dd</id>
<content type='text'>
They currently complain that the parent method is not forwarding.
But the actual problem is that these types of arguments simply don't
accept `...`

Fixes [Bug #21927]

https://github.com/ruby/prism/commit/0aa2363331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They currently complain that the parent method is not forwarding.
But the actual problem is that these types of arguments simply don't
accept `...`

Fixes [Bug #21927]

https://github.com/ruby/prism/commit/0aa2363331
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync Prism to 1.8.0</title>
<updated>2026-01-13T01:59:55+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-01-13T01:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a10f7fac1fb1dcbdb1ae41137bd7294764a34793'/>
<id>a10f7fac1fb1dcbdb1ae41137bd7294764a34793</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Reject `p(p a, &amp;block =&gt; value)` and similar</title>
<updated>2025-12-19T00:58:53+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-12-01T20:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e2c886dd669dd640dae75e3ac6d7206b74870d1b'/>
<id>e2c886dd669dd640dae75e3ac6d7206b74870d1b</id>
<content type='text'>
Redo of https://github.com/ruby/prism/pull/3669 with more tests

https://github.com/ruby/prism/commit/48b403ea79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Redo of https://github.com/ruby/prism/pull/3669 with more tests

https://github.com/ruby/prism/commit/48b403ea79
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix `%Q` with newline delimiter and heredoc interpolation</title>
<updated>2025-12-04T14:50:46+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-12-04T10:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=465a86c3417d2936c311d9571aa9b6494a83eed8'/>
<id>465a86c3417d2936c311d9571aa9b6494a83eed8</id>
<content type='text'>
The lexer did not jump to the `heredoc_end`, causing the heredoc end delimiter
to be parsed twice.

Normally the heredocs get flushed when a newline is encountered. But because
the newline is part of the string delimiter, that codepath is not taken.

Fixes [Bug #21758]

https://github.com/ruby/prism/commit/7440eb4b11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The lexer did not jump to the `heredoc_end`, causing the heredoc end delimiter
to be parsed twice.

Normally the heredocs get flushed when a newline is encountered. But because
the newline is part of the string delimiter, that codepath is not taken.

Fixes [Bug #21758]

https://github.com/ruby/prism/commit/7440eb4b11
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fully destroy call operator write arguments</title>
<updated>2025-11-30T02:08:41+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-11-29T20:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b1314f159ec501f4fdc1c055293799b33c9ad134'/>
<id>b1314f159ec501f4fdc1c055293799b33c9ad134</id>
<content type='text'>
If we are about to delete a call operator write argument, it needs
to be removed from the list of block exits as well.

https://github.com/ruby/prism/commit/ebc91c2e39
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we are about to delete a call operator write argument, it needs
to be removed from the list of block exits as well.

https://github.com/ruby/prism/commit/ebc91c2e39
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix label interpolated string</title>
<updated>2025-11-29T19:48:30+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-11-29T19:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c2eb946e04940901ee1957c3fb43897c661568e'/>
<id>7c2eb946e04940901ee1957c3fb43897c661568e</id>
<content type='text'>
https://github.com/ruby/prism/commit/e3e2b1ed04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e3e2b1ed04
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Handle invalid string pattern key</title>
<updated>2025-11-29T19:47:45+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-11-29T19:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f2a6cb2dc88ca12938b45f35bc6e64d72060a959'/>
<id>f2a6cb2dc88ca12938b45f35bc6e64d72060a959</id>
<content type='text'>
When a pattern match is using a string as a hash pattern key and is
using it incorrectly, we were previously assuming it was a symbol.
In the case of an error, that's not the case. So we need to add a
missing node in this case.

https://github.com/ruby/prism/commit/f0b06d6269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a pattern match is using a string as a hash pattern key and is
using it incorrectly, we were previously assuming it was a symbol.
In the case of an error, that's not the case. So we need to add a
missing node in this case.

https://github.com/ruby/prism/commit/f0b06d6269
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Revert "Reject `p(p a, &amp;block =&gt; value)` and similar"</title>
<updated>2025-11-23T21:36:19+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-11-23T21:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b75cf83a333ab4e321e89cdefb94e684f6648033'/>
<id>b75cf83a333ab4e321e89cdefb94e684f6648033</id>
<content type='text'>
https://github.com/ruby/prism/commit/fef2c20777
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/fef2c20777
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Reject `p(p a, &amp;block =&gt; value)` and similar</title>
<updated>2025-11-23T18:15:15+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-11-18T08:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2870b7d7df30bc227f40a4c04c97050b90f1f25b'/>
<id>2870b7d7df30bc227f40a4c04c97050b90f1f25b</id>
<content type='text'>
They were being parsed as `p((p a, &amp;block) =&gt; value)`.
When we get to this point, we must not just have parsed a command call, always consuming the `=&gt;` is not correct.

Closes [Bug #21622]

https://github.com/ruby/prism/commit/796ab0edf4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They were being parsed as `p((p a, &amp;block) =&gt; value)`.
When we get to this point, we must not just have parsed a command call, always consuming the `=&gt;` is not correct.

Closes [Bug #21622]

https://github.com/ruby/prism/commit/796ab0edf4
</pre>
</div>
</content>
</entry>
<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>
