General

Profile

zverok (Victor Shepelev)

Issues

open closed Total
Assigned issues 0 19 19
Reported issues 20 101 121

Projects

Project Roles Registered on
Ruby Committer 01/17/2022
Backport187 Committer 01/17/2022
Backport191 Committer 01/17/2022
Backport192 Committer 01/17/2022
Backport193 Committer 01/17/2022
Backport200 Committer 01/17/2022
Backport21 Committer 01/17/2022
Backport22 Committer 01/17/2022
Ruby 1.8 Committer 01/17/2022
Ruby master Committer 01/17/2022

Like

Activity

Today

07:58 AM Ruby master Bug #20943: Constant defined in `Data.define` block
TBH, for bigger `Struct`/`Data`-based classes I typically prefer a regular inheritance instead of using class definit... zverok (Victor Shepelev)

12/16/2024

07:42 PM Ruby master Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
> but this behavior would be nice (again, thinking in terms of consistency):
```ruby
proc { |_1| }.parameters # ...
zverok (Victor Shepelev)
03:24 PM Ruby master Bug #20955: Subtle differences with Proc#parameters for anonymous parameters
@bkuhlmann The only possible reason is not to confuse with this:
```ruby
proc { |it| }.parameters # the parameter i...
zverok (Victor Shepelev)
09:23 AM Ruby master Feature #20953: Array#fetch_values vs #values_at protocols
> `Array#fetch_values` is modeled after `Hash#fetch_values`, not `Array#values_at`.
But in Hash, `#values_at` and ...
zverok (Victor Shepelev)

12/15/2024

07:53 PM Ruby master Revision 1ac28224 (git): [DOC] Adjust argument unpacking docs and document **nil (#12228)
[DOC] Rewrite argument unpacking docs and document **nil zverok (Victor Shepelev)
07:53 PM Ruby master Bug #20955 (Open): Subtle differences with Proc#parameters for anonymous parameters
```ruby
p proc { |x| }.parameters #=> [[:opt, :x]]
p lambda { |x| }.parameters #=> [[:req, :x]]
p proc { _1 }.pa...
zverok (Victor Shepelev)
06:18 PM Ruby master Bug #20954 (Closed): Ractor.main? returns 0 on the main ractor
Very minor (as the value is still truthy) but slightly confusing.
```ruby
Ractor.main? #=> 0
```
```
$ ruby ...
zverok (Victor Shepelev)
04:32 PM Ruby master Feature #20953 (Open): Array#fetch_values vs #values_at protocols
I believe that the user might expect `#fetch_values` to be a stricter version of `#values_at`, confirming to the same... zverok (Victor Shepelev)

12/13/2024

07:47 PM Ruby master Bug #20952 (Closed): A weird error message for []= with keyword arguments
Trying to document the new deprecation of `#[]=` with keyword arguments, I wrote this sample code:
```ruby
class ...
zverok (Victor Shepelev)

11/17/2024

09:44 AM Ruby master Feature #20770: A *new* pipe operator proposal
In case anybody interested, I spent some time on Staruday experimenting on an implementation of @AlexandreMagro’s ide... zverok (Victor Shepelev)

Also available in: Atom