General

Profile

localhostdotdev (localhost .dev)

  • Login: localhostdotdev
  • Registered on: 03/08/2019
  • Last sign in: 05/06/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

04/07/2019

08:24 PM Ruby master Bug #15753 (Closed): unknown keyword when passing an hash to a method that accepts a default argument and a named argument
e.g.
```ruby
>> def a(b = {}, c: 1); p [b, c]; end; a(a: 1)
Traceback (most recent call last):
3: from ...
localhostdotdev (localhost .dev)

03/28/2019

11:54 AM Ruby master Bug #15732: Strict mode
So, the main thing I was thinking about is passing blocks that then get silently ignored. I was thinking a good way t... localhostdotdev (localhost .dev)
11:44 AM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
To detect if a block is used, binding would also need to be detected, e.g.: `def b(arg); arg.eval("yield"); end; def ... localhostdotdev (localhost .dev)

03/27/2019

10:24 PM Ruby master Bug #15732 (Closed): Strict mode
A lot of issues could be easily prevented with a strict mode, for instance:
- Passing a block to a method that doe...
localhostdotdev (localhost .dev)

03/22/2019

05:36 PM Ruby master Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date
@nobu Not sure why I wrote false (maybe I confused === with == in my testing), I'm getting `true` on ruby 2.5.3, 2.6.... localhostdotdev (localhost .dev)

03/19/2019

05:00 PM Ruby master Bug #15712 (Closed): DateTime#=== should be defined and compare date and time instead of just the date
DateTime#=== is inherited from Date#=== without overwriting the #=== method, this leads to DateTime#=== comparing onl... localhostdotdev (localhost .dev)

03/08/2019

11:06 PM Ruby master Bug #15647 (Rejected): Disallow "in" as a keyword argument name
"`in`" is a reserved keyword and thus can't be accessed directly anyway.
e.g. the following is a syntax error:
...
localhostdotdev (localhost .dev)

Also available in: Atom