ruipserra (Rui Serra)
- Login: ruipserra
- Email: ruipserra@gmail.com
- Registered on: 03/21/2015
- Last sign in: 01/08/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/21/2015
-
05:28 PM Ruby Bug #10994 (Closed): Inconsistent behavior when mixing optional argument and keyword splat
- The following code produces inconsistent behavior:
```
def foo(x=nil, **kw)
x
end
h = { "a" => 1 }
foo(h) # => {"a"=>1}
foo(h).equal?(h) # => false
foo(h, y: 1).equal?(h) # => true
```
It s...