<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/config.yml, branch v4.0.4</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>[ruby/prism] Revert "Fix invalid Ruby code example in ClassNode comment"</title>
<updated>2025-11-29T21:00:53+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-11-29T20:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e3bc1852b3a7bcacf3e18d1644fbea7839abe019'/>
<id>e3bc1852b3a7bcacf3e18d1644fbea7839abe019</id>
<content type='text'>
https://github.com/ruby/prism/commit/b960079559
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/b960079559
</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] Fix invalid Ruby code example in ClassNode comment</title>
<updated>2025-11-28T15:38:40+00:00</updated>
<author>
<name>qraqras</name>
<email>q100rrraaa@gmail.com</email>
</author>
<published>2025-11-28T00:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8eaefd93951143661b1f515a8c9cda12263d2b56'/>
<id>8eaefd93951143661b1f515a8c9cda12263d2b56</id>
<content type='text'>
https://github.com/ruby/prism/commit/5b7456c8f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/5b7456c8f6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add docs for super nodes</title>
<updated>2025-11-19T02:01:57+00:00</updated>
<author>
<name>Alexander Momchilov</name>
<email>alexander.momchilov@shopify.com</email>
</author>
<published>2025-11-14T15:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1979f8c07d6c2794dda7b482372c9dc0e9f305b0'/>
<id>1979f8c07d6c2794dda7b482372c9dc0e9f305b0</id>
<content type='text'>
https://github.com/ruby/prism/commit/69abcdbb18
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/69abcdbb18
</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>
<entry>
<title>[ruby/prism] Reject endless method as a block parameter default</title>
<updated>2025-11-14T16:27:38+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-11-03T11:24:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bec69617a00e1d98748b319411f221568a4b6c66'/>
<id>bec69617a00e1d98748b319411f221568a4b6c66</id>
<content type='text'>
Fixes [Bug #21661]

https://github.com/ruby/prism/commit/475fa46a82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #21661]

https://github.com/ruby/prism/commit/475fa46a82
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #21572] Syntax error at capture in alternation pattern</title>
<updated>2025-11-14T12:03:04+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-10-23T15:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f4b6a5191ceb0ed0cd7a3e3c8bab24cc0dd15736'/>
<id>f4b6a5191ceb0ed0cd7a3e3c8bab24cc0dd15736</id>
<content type='text'>
Should fail even with `-c` option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fail even with `-c` option.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add equal_loc to call nodes</title>
<updated>2025-10-30T13:06:09+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-10-26T20:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8e7d427a721ab715361c577fdea94fdebece6c6d'/>
<id>8e7d427a721ab715361c577fdea94fdebece6c6d</id>
<content type='text'>
In the case of attribute writes, there are use cases where you want
to know the location of the = sign. (Internally we actually need
this for translation to the writequark AST.)

https://github.com/ruby/prism/commit/bfc798a7ec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of attribute writes, there are use cases where you want
to know the location of the = sign. (Internally we actually need
this for translation to the writequark AST.)

https://github.com/ruby/prism/commit/bfc798a7ec
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] For these special cases, there exists no optional argument type. Since a endless method is started with `=`, there was ambiguity here. We have to simply reject these in all cases.</title>
<updated>2025-10-08T13:04:57+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-10-08T12:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b8f8d646a64f883652b44780c4174a85f98d1c82'/>
<id>b8f8d646a64f883652b44780c4174a85f98d1c82</id>
<content type='text'>
This adds a new error for the following reason:
* `def foo arg = nil` is interpreted as a normal method call with optional `arg` without matching `end`
* `def foo *arg = nil; end` is interpreted as a endless method call that has body `nil` with extraneous `end`

`def foo *arg = nil` is somewhere inbetween and I don't know how to otherwise indicate the error.
Now the second case above also shows the newly added error message.

Fixes [Bug #21623]

https://github.com/ruby/prism/commit/e1910d4492
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new error for the following reason:
* `def foo arg = nil` is interpreted as a normal method call with optional `arg` without matching `end`
* `def foo *arg = nil; end` is interpreted as a endless method call that has body `nil` with extraneous `end`

`def foo *arg = nil` is somewhere inbetween and I don't know how to otherwise indicate the error.
Now the second case above also shows the newly added error message.

Fixes [Bug #21623]

https://github.com/ruby/prism/commit/e1910d4492
</pre>
</div>
</content>
</entry>
</feed>
