[#73707] [Ruby trunk Misc#12004] Code of Conduct — hanmac@...
Issue #12004 has been updated by Hans Mackowiak.
3 messages
2016/02/05
[#73730] [Ruby trunk Feature#12034] RegExp does not respect file encoding directive — nobu@...
Issue #12034 has been updated by Nobuyoshi Nakada.
3 messages
2016/02/07
[#73746] [Ruby trunk Feature#12034] RegExp does not respect file encoding directive — nobu@...
Issue #12034 has been updated by Nobuyoshi Nakada.
3 messages
2016/02/09
[#73919] [Ruby trunk Feature#11262] Make more objects behave like "Functions" — Ruby-Lang@...
Issue #11262 has been updated by J旦rg W Mittag.
3 messages
2016/02/22
[#74019] [Ruby trunk Bug#12103][Rejected] ruby process hangs while executing regular expression. — duerst@...
Issue #12103 has been updated by Martin D端rst.
3 messages
2016/02/27
[ruby-core:73690] [Ruby trunk Bug#12048][Rejected] "Unknown keyword" error when calling function with keyword argument inside parameter
From:
nobu@...
Date:
2016-02-04 01:14:57 UTC
List:
ruby-core #73690
Issue #12048 has been updated by Nobuyoshi Nakada.
Description updated
Status changed from Open to Rejected
It's same as
```ruby
def y(b: nil) end
x = {c: 1}
y(x)
```
Keyword arguments are passed as a `Hash`, `x` here.
----------------------------------------
Bug #12048: "Unknown keyword" error when calling function with keyword argument inside parameter
https://bugs.ruby-lang.org/issues/12048#change-56887
* Author: Ewout VT
* Status: Rejected
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Contents of attached file ruby_bug.rb
~~~ruby
def x(a) ; a ; end
def y(*a, b: nil) ; end
y(x(c: 1))
~~~
~~~
$ ruby ruby_bug.rb
ruby_bug.rb:2:in `y': unknown keyword: c (ArgumentError)
from ruby_bug.rb:3:in `<main>'
~~~
Not only ruby 2.3 is affected, same hehavior on ruby 2.2.3, 2.2.4 and 2.1.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>