<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/errors, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Bump Prism to v1.5.2</title>
<updated>2025-12-08T23:30:35+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-12-08T22:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d282e76fb6c9f56ac44b3abfc8a3fc9f10edd6f0'/>
<id>d282e76fb6c9f56ac44b3abfc8a3fc9f10edd6f0</id>
<content type='text'>
[Backport #21187]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Backport #21187]
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump Prism version to 1.5.0</title>
<updated>2025-09-12T21:30:16+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-09-12T20:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=52b3f006cb31672c45b26f6a44a609fd1b8e2ee5'/>
<id>52b3f006cb31672c45b26f6a44a609fd1b8e2ee5</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] Accept a newline after the defined? keyword [Backport #21197] (#13327)</title>
<updated>2025-07-09T21:51:32+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashi.kokubun@shopify.com</email>
</author>
<published>2025-07-09T21:51:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1e3d24a0f47e142270bfb6073feb77f6364af052'/>
<id>1e3d24a0f47e142270bfb6073feb77f6364af052</id>
<content type='text'>
* [ruby/prism] Accept a newline after the defined? keyword

[Bug #21197]

https://github.com/ruby/prism/commit/22be955ce9

* Fix a compilation error

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

---------

Co-authored-by: Kevin Newton &lt;kddnewton@gmail.com&gt;
Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [ruby/prism] Accept a newline after the defined? keyword

[Bug #21197]

https://github.com/ruby/prism/commit/22be955ce9

* Fix a compilation error

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

---------

Co-authored-by: Kevin Newton &lt;kddnewton@gmail.com&gt;
Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "merge revision(s) 052794bfe1970e90f4f4f9e37fc362dd27903a8d: [Backport #21197]"</title>
<updated>2025-04-14T07:29:03+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-04-14T07:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1c23c3095325a4ade2064cc3b35ce8e678e03ebf'/>
<id>1c23c3095325a4ade2064cc3b35ce8e678e03ebf</id>
<content type='text'>
This reverts commit e630a0f7ae909dafe2e1dbc47baf90cd795b4a5f.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e630a0f7ae909dafe2e1dbc47baf90cd795b4a5f.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 052794bfe1970e90f4f4f9e37fc362dd27903a8d: [Backport #21197]</title>
<updated>2025-04-14T07:18:37+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-04-14T07:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e630a0f7ae909dafe2e1dbc47baf90cd795b4a5f'/>
<id>e630a0f7ae909dafe2e1dbc47baf90cd795b4a5f</id>
<content type='text'>
	[ruby/prism] Accept a newline after the defined? keyword

	[Bug #21197]

	https://github.com/ruby/prism/commit/22be955ce9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/prism] Accept a newline after the defined? keyword

	[Bug #21197]

	https://github.com/ruby/prism/commit/22be955ce9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix escape unicode curly inline whitespace</title>
<updated>2025-02-18T17:14:05+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-02-17T17:57:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f627efe8ae580d777d87c3bb8c0b350b49af62e8'/>
<id>f627efe8ae580d777d87c3bb8c0b350b49af62e8</id>
<content type='text'>
Fixes [Bug #21145]

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

https://github.com/ruby/prism/commit/be2d845639
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) b21e1aed2ed5b22b50efc658289a403eeed581df: [Backport #21114]</title>
<updated>2025-02-14T05:17:41+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-02-14T05:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9a0984436888a59f4914c3035c53657baf62ce2b'/>
<id>9a0984436888a59f4914c3035c53657baf62ce2b</id>
<content type='text'>
	[ruby/prism] Fix infinite loop in error recovery

	When recovering from a depth error that occurs at the end of the
	file, we need to break out of parsing statements.

	Fixes [Bug #21114]

	https://github.com/ruby/prism/commit/a32e268787
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/prism] Fix infinite loop in error recovery

	When recovering from a depth error that occurs at the end of the
	file, we need to break out of parsing statements.

	Fixes [Bug #21114]

	https://github.com/ruby/prism/commit/a32e268787
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 127325a4bad409ee5da91084fac768934a8fd9e3: [Backport #21117]</title>
<updated>2025-02-14T05:17:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-02-14T05:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d3fc56dcfa7b408cc3b6788efad36fd8df3e55da'/>
<id>d3fc56dcfa7b408cc3b6788efad36fd8df3e55da</id>
<content type='text'>
	[ruby/prism] No writing to numbered parameters

	Fixes [Bug #21117]

	https://github.com/ruby/prism/commit/19d4bab5a0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/prism] No writing to numbered parameters

	Fixes [Bug #21117]

	https://github.com/ruby/prism/commit/19d4bab5a0
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) ad96c5a72908042489357b73dc936c4bc38d919b, ca81142eff98cccb03ff523322aefe4e7346fd0e: [Backport #21010]</title>
<updated>2025-02-14T01:52:28+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-02-14T01:52:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82f7cb794109794f6ffa95ffb3be8e5149dd74bd'/>
<id>82f7cb794109794f6ffa95ffb3be8e5149dd74bd</id>
<content type='text'>
	[ruby/prism] Throw syntax error for endless method with `[]=`

	Prism shoudld throw a syntax error for endless methods when the method
	name uses brackets. Previously it would not. This matches the behavior
	of parse.y.

	Fixes https://bugs.ruby-lang.org/issues/21010

	https://github.com/ruby/prism/commit/43c16a89ef

	[ruby/prism] [Bug #21010] Reject endless method definition of `[]=`

	Fixes: https://bugs.ruby-lang.org/issues/20785

	https://github.com/ruby/prism/commit/192960ce5d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/prism] Throw syntax error for endless method with `[]=`

	Prism shoudld throw a syntax error for endless methods when the method
	name uses brackets. Previously it would not. This matches the behavior
	of parse.y.

	Fixes https://bugs.ruby-lang.org/issues/21010

	https://github.com/ruby/prism/commit/43c16a89ef

	[ruby/prism] [Bug #21010] Reject endless method definition of `[]=`

	Fixes: https://bugs.ruby-lang.org/issues/20785

	https://github.com/ruby/prism/commit/192960ce5d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix 3112 - disallow commas after block arg</title>
<updated>2024-12-16T15:51:22+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2024-10-01T18:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a21237571e57e1c6992d41424300996303859b3e'/>
<id>a21237571e57e1c6992d41424300996303859b3e</id>
<content type='text'>
Prism was already disallowing arguments after block args, but in
parse.y, any comma after a block arg is a syntax error. This moves the
error handling into `PM_TOKEN_UAMPERSAND` where we can check if the
current type is `PM_TOKEN_COMMA`then raise an error. I've also updated
the tests to include the examplesfrom ruby/prism#3112.

Fixes: ruby/prism#3112

https://github.com/ruby/prism/commit/754cf8eddc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prism was already disallowing arguments after block args, but in
parse.y, any comma after a block arg is a syntax error. This moves the
error handling into `PM_TOKEN_UAMPERSAND` where we can check if the
current type is `PM_TOKEN_COMMA`then raise an error. I've also updated
the tests to include the examplesfrom ruby/prism#3112.

Fixes: ruby/prism#3112

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