[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69116] [Ruby trunk - Misc #11131] [Open] Unexpected splatting of empty kwargs
From:
zimbatm@...
Date:
2015-05-10 18:01:04 UTC
List:
ruby-core #69116
Issue #11131 has been reported by zimba tm.
----------------------------------------
Misc #11131: Unexpected splatting of empty kwargs
https://bugs.ruby-lang.org/issues/11131
* Author: zimba tm
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
~~~
def foo(); :ok end
foo(*[]) #=> :ok
foo(**{}) #=> ArgumentError: wrong number of arguments (1 for 0)
foo(*[], **{}) #=> ArgumentError: wrong number of arguments (1 for 0)
~~~
I was expecting kwargs splatting to work the same as args splatting and be ignored when an empty container is passed.
--
https://bugs.ruby-lang.org/