<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/errors/defs_endless_method.txt, 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>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>
</feed>
