General

Profile

Dan0042 (Daniel DeLorme)

  • Login: Dan0042
  • Registered on: 06/09/2016
  • Last sign in: 03/14/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 15 22 37

Like

Activity

03/10/2024

02:23 PM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
Eregon (Benoit Daloze) wrote in #note-19:
> It would need to warn by default to address that.
Or you need to use ...
Dan0042 (Daniel DeLorme)

03/07/2024

04:50 PM Ruby master Feature #20326: Add an `undefined` for use as a default argument.
mame (Yusuke Endoh) wrote in #note-4:
> Personally, I don't like an API that distinguishes between "nil is passed" an...
Dan0042 (Daniel DeLorme)

03/04/2024

03:20 PM Ruby master Feature #20317: Removing the `allocate` method should cause `new` to fail
May I ask what is the use case for this?
The only reason I can think to undefine `allocate` is if you want to allow ...
Dan0042 (Daniel DeLorme)

03/03/2024

03:17 PM Ruby master Bug #20307: `Hash#update` from compare_by_identity hash can have unfrozen string keys
After the code above, we can do
```ruby
h.rehash
p h #=> {"A"=>1}
```
When a key is clobbered like that due to a...
Dan0042 (Daniel DeLorme)

03/01/2024

01:16 AM Ruby master Feature #15554: warn/error passing a block to a method which never use a block
This would be a verbose-only warning right? Dan0042 (Daniel DeLorme)

02/26/2024

03:55 PM Ruby master Feature #17342: Hash#fetch_set
It's confusing that this ticket, #17342, is striked out even though the status is "Feedback".
Another name for thi...
Dan0042 (Daniel DeLorme)
03:31 PM Ruby master Bug #20301: `Set#add?` does two hash look-ups
Now I understand why you proposed #20300 Hash#update_value
However I'd like to suggest an alternative approach for y...
Dan0042 (Daniel DeLorme)

02/20/2024

01:30 PM Ruby master Feature #19979: Allow methods to declare that they don't accept a block via `&nil`
Eregon (Benoit Daloze) wrote in #note-14:
> Is there any reason not to do #15554 instead?
> This proposal requires ...
Dan0042 (Daniel DeLorme)

02/19/2024

11:07 PM Ruby master Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
byroot (Jean Boussier) wrote in #note-7:
> Which I think is simple enough to not warrant and extra `skip:` parameter...
Dan0042 (Daniel DeLorme)
11:02 PM Ruby master Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
I've come to realize something; when an ASCII-8BIT string contains only ascii characters, it behaves exactly like a U... Dan0042 (Daniel DeLorme)

Also available in: Atom