<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby.git/test/ruby/test_syntax.rb, branch ruby_3_2</title>
<subtitle>github.com: ruby/ruby.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/'/>
<entry>
<title>Disallow mixed usage of ... and */**</title>
<updated>2022-12-15T09:56:24+00:00</updated>
<author>
<name>Shugo Maeda</name>
<email>shugo@ruby-lang.org</email>
</author>
<published>2022-12-15T06:12:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=2581de112c1957dc4b5852e54337551dc8972c99'/>
<id>2581de112c1957dc4b5852e54337551dc8972c99</id>
<content type='text'>
[Feature #19134]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #19134]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for [Feature #19134]</title>
<updated>2022-11-29T05:18:16+00:00</updated>
<author>
<name>Shugo Maeda</name>
<email>shugo@ruby-lang.org</email>
</author>
<published>2022-11-29T05:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=74bdf09215da3c9f1eb31feea3666359acbce527'/>
<id>74bdf09215da3c9f1eb31feea3666359acbce527</id>
<content type='text'>
https://bugs.ruby-lang.org/issues/19134?next_issue_id=19133&amp;prev_issue_id=19135#note-4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.ruby-lang.org/issues/19134?next_issue_id=19133&amp;prev_issue_id=19135#note-4
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow ** in def foo(...)</title>
<updated>2022-11-29T02:22:09+00:00</updated>
<author>
<name>Shugo Maeda</name>
<email>shugo@ruby-lang.org</email>
</author>
<published>2022-11-28T01:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=4fc668a4f3b9b67cc7566096ab55cab34c67c158'/>
<id>4fc668a4f3b9b67cc7566096ab55cab34c67c158</id>
<content type='text'>
[Feature #19134]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #19134]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test cases for args forwarding after rest argument</title>
<updated>2022-11-19T01:17:16+00:00</updated>
<author>
<name>yui-knk</name>
<email>spiketeika@gmail.com</email>
</author>
<published>2022-11-18T10:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=082cfcfd06f85ea5c578f0654431dad5c2f32814'/>
<id>082cfcfd06f85ea5c578f0654431dad5c2f32814</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow anonymous keyword rest parameter with other keyword parameters</title>
<updated>2022-11-18T09:23:06+00:00</updated>
<author>
<name>Shugo Maeda</name>
<email>shugo@ruby-lang.org</email>
</author>
<published>2022-11-16T14:03:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=ddd62fadaf91418cd259593285bc59358fb0b166'/>
<id>ddd62fadaf91418cd259593285bc59358fb0b166</id>
<content type='text'>
Fixes [Bug #19132]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #19132]
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not have class/module keywords look up ancestors of Object</title>
<updated>2022-07-21T15:28:05+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-06-20T22:51:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=12ac8971a394118a57640299f654e46e763093fa'/>
<id>12ac8971a394118a57640299f654e46e763093fa</id>
<content type='text'>
Fixes case where Object includes a module that defines a constant,
then using class/module keyword to define the same constant on
Object itself.

Implements [Feature #18832]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes case where Object includes a module that defines a constant,
then using class/module keyword to define the same constant on
Object itself.

Implements [Feature #18832]
</pre>
</div>
</content>
</entry>
<entry>
<title>Respect the encoding of the source [Bug #18827]</title>
<updated>2022-06-16T16:48:52+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-06-14T03:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=cd5cafa4a380e2459862b6e99ff0c381362ef1be'/>
<id>cd5cafa4a380e2459862b6e99ff0c381362ef1be</id>
<content type='text'>
Do not override the input string encoding at the time of preparation,
the source encoding is not determined from the input yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not override the input string encoding at the time of preparation,
the source encoding is not determined from the input yet.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix using anonymous block in method accepting explicit keywords</title>
<updated>2022-04-05T14:35:25+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-04-04T20:14:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=3bb70a6924ddd83f90b508b5bbc4d5629b8a41c6'/>
<id>3bb70a6924ddd83f90b508b5bbc4d5629b8a41c6</id>
<content type='text'>
Record block ID before vtable_pop, so the incorrect one doesn't
override it.

Fixes [Bug #18673]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Record block ID before vtable_pop, so the incorrect one doesn't
override it.

Fixes [Bug #18673]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for anonymous rest and keyword rest argument forwarding</title>
<updated>2021-12-30T22:37:42+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-11-19T17:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=f53dfab95c30e222f67e610234f63d3e9189234d'/>
<id>f53dfab95c30e222f67e610234f63d3e9189234d</id>
<content type='text'>
This allows for the following syntax:

```ruby
def foo(*)
  bar(*)
end
def baz(**)
  quux(**)
end
```

This is a natural addition after the introduction of anonymous
block forwarding.  Anonymous rest and keyword rest arguments were
already supported in method parameters, this just allows them to
be used as arguments to other methods.  The same advantages of
anonymous block forwarding apply to rest and keyword rest argument
forwarding.

This has some minor changes to #parameters output.  Now, instead
of `[:rest], [:keyrest]`, you get `[:rest, :*], [:keyrest, :**]`.
These were already used for `...` forwarding, so I think it makes
it more consistent to include them in other cases.  If we want to
use `[:rest], [:keyrest]` in both cases, that is also possible.

I don't think the previous behavior of `[:rest], [:keyrest]` in
the non-... case and `[:rest, :*], [:keyrest, :**]` in the ...
case makes sense, but if we did want that behavior, we'll have to
make more substantial changes, such as using a different ID in the
... forwarding case.

Implements [Feature #18351]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for the following syntax:

```ruby
def foo(*)
  bar(*)
end
def baz(**)
  quux(**)
end
```

This is a natural addition after the introduction of anonymous
block forwarding.  Anonymous rest and keyword rest arguments were
already supported in method parameters, this just allows them to
be used as arguments to other methods.  The same advantages of
anonymous block forwarding apply to rest and keyword rest argument
forwarding.

This has some minor changes to #parameters output.  Now, instead
of `[:rest], [:keyrest]`, you get `[:rest, :*], [:keyrest, :**]`.
These were already used for `...` forwarding, so I think it makes
it more consistent to include them in other cases.  If we want to
use `[:rest], [:keyrest]` in both cases, that is also possible.

I don't think the previous behavior of `[:rest], [:keyrest]` in
the non-... case and `[:rest, :*], [:keyrest, :**]` in the ...
case makes sense, but if we did want that behavior, we'll have to
make more substantial changes, such as using a different ID in the
... forwarding case.

Implements [Feature #18351]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix arg_forward without parentheses [Bug #18267]</title>
<updated>2021-12-14T22:01:20+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-11-18T12:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=aa7c4c37d7752af4897567dec1b0745873b0457a'/>
<id>aa7c4c37d7752af4897567dec1b0745873b0457a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
