Nobuyoshi Nakada
826f44834f
Drop support for ruby 2.4 from ruby/spec
2020-04-01 15:36:20 +09:00
Jeremy Evans
f4394bbca3
Do not autosplat when calling procs that accept rest and keywords
...
When providing a single array to a block that takes a splat, pass the
array as one argument of the splat instead of as the splat itself,
even if the block also accepts keyword arguments. Previously, this
behavior was only used for blocks that did not accept keywords.
Implements [Feature#16166]
2020-03-08 20:49:09 -07:00
Jeremy Evans
e014e6bf66
Update specs for keyword argument separation
2020-01-02 18:40:45 -08:00
Jeremy Evans
0162e7e647
Make circular argument reference a SyntaxError instead of a warning
...
Fixes [Bug #10314 ]
2019-10-17 09:32:06 -07:00
Benoit Daloze
1c938a72aa
Update to ruby/spec@519df35
2019-09-29 16:03:58 +02:00
Jeremy Evans
a810f6cbef
Update specs to handle non-Symbols for keyword splats in 2.7
...
Also handle some warnings for behavior that will change in 3.0.
2019-08-30 12:39:31 -07:00
Benoit Daloze
5c276e1cc9
Update to ruby/spec@875a09e
2019-07-27 12:40:09 +02:00
Benoit Daloze
a1b4816759
Update to ruby/spec@15c9619
2019-04-27 18:53:23 +02:00
mame
76fc1ce0a7
The combination of non-Symbol keys and Symbol keys is now allowed again
...
Revert r64358. [Bug #15658 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 12:48:33 +00:00
eregon
75334db3c6
Update to ruby/spec@6cf8ebe
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 16:35:33 +00:00
eregon
b448f23e21
Update to ruby/spec@dd828d6
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-21 22:01:34 +00:00
nobu
37279d1546
non-symbol keys in kwargs
...
* class.c (separate_symbol): [EXPERIMENTAL] non-symbol key in keyword
arguments hash causes an exception now.
c.f. https://twitter.com/yukihiro_matz/status/1022287578995646464
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-14 11:58:17 +00:00
eregon
4fbb9aa3cb
Update to ruby/spec@6f38a82
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-28 19:50:06 +00:00
eregon
401b64c4e8
Update to ruby/spec@c1b568b
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-04 15:09:32 +00:00
eregon
8c5b60eb22
Update to ruby/spec@a6b8805
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-28 15:15:48 +00:00
eregon
1d15d5f080
Move spec/rubyspec to spec/ruby for consistency
...
* Other ruby implementations use the spec/ruby directory.
[Misc #13792 ] [ruby-core:82287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 20:18:52 +00:00