General

Profile

Earlopain (Earlopain _)

  • Login: Earlopain
  • Registered on: 04/24/2024
  • Last sign in: 06/13/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 6 33 39

Projects

Project Roles Registered on
Ruby Contributor 12/08/2025

Activity

06/13/2026

05:42 PM Ruby Bug #21994: If there is a local variable `foo`, calls to a method `foo` with a regexp literal as first argument is always a SyntaxError without parentheses
https://github.com/ruby/ruby/pull/17315 Earlopain (Earlopain _)

06/10/2026

12:20 PM Ruby Revision 29764156 (git): [ruby/prism] Fix multibyte non-alphanumeric chars for bare percent string literals
Alphanumerics are correctly handled in the check below
by simply discarding the `%`.
The same was not true for the other types, which caused some assumption to no longer hold.
https://github.com/ruby/prism/commit/69a9a36a6a
Earlopain (Earlopain _)

06/07/2026

01:47 PM Ruby Revision 5e460909 (git): [ruby/prism] Fix error message for block/lambda with `...` argument
They currently complain that the parent method is not forwarding.
But the actual problem is that these types of arguments simply don't
accept `...`
Fixes [Bug #21927]
https://github.com/ruby/prism/commit/0aa2363331
Earlopain (Earlopain _)

06/04/2026

12:30 PM Ruby Feature #17944: Remove Socket.gethostbyaddr and Socket.gethostbyname
ruby/spec has the following test:
```rb
addr = IPAddr.new('::1').hton
it 'raises SocketError when the address is not supported by the family' do
-> { suppress_warning { Socket.gethostbyaddr(addr, :INET) } }.should.raise(SocketErr...
Earlopain (Earlopain _)

06/02/2026

04:21 AM Ruby Revision 4f6b9d80 (git): [DOC] Fix code sample formatting for `TrueClass#&`
Earlopain (Earlopain _)

05/31/2026

08:02 PM Ruby Bug #22087 (Rejected): Octal format specifier in alternatve form ignores zero precision if value is zero
Ah, indeed. It looked it up an you are right. From https://en.cppreference.com/c/io/fprintf
x/X:
> In the alternative implementation 0x or 0X is prefixed to results if the converted value is nonzero.
o:
> In the alternative i...
Earlopain (Earlopain _)
03:13 PM Ruby Bug #22087 (Rejected): Octal format specifier in alternatve form ignores zero precision if value is zero
For integer types, it is documented that zero as a value results in empty output:
https://docs.ruby-lang.org/en/4.0/language/format_specifications_rdoc.html#:~:text=If%20the%20precision%20is%200%20and%20the%20value%20is%200%2C%20nothing...
Earlopain (Earlopain _)

05/26/2026

02:29 PM Ruby Revision 986a7ed4 (git): [ruby/prism] Don't replicate unary method bug in parser translator
Closes https://github.com/ruby/prism/issues/4112
Also see https://github.com/ruby/prism/issues/2501, for which this was done.
The expectation in rubocop is incorrect (produces code with semantic difference), so the test should be update...
Earlopain (Earlopain _)

05/23/2026

07:50 PM Ruby Bug #22080 (Open): `Integer(obj, exception: false)` raises when `to_str` doesn't return String
```rb
obj = Object.new
def obj.to_str = 1
Integer(obj, exception: false) # can't convert Object to String (Object#to_str gives Integer) (TypeError)
```
But returning the wrong type from `to_int` is fine:
```rb
obj = Object.n...
Earlopain (Earlopain _)

05/21/2026

12:47 PM Ruby Bug #22077: Endless methods in 3.3.5 allows for endless rescues. 4.0 shows different behaviour
Seems caused by http://github.com/ruby/prism/commit/07202005cbd01e860edb7aa7c93e8fe7d74efcf5 Earlopain (Earlopain _)

Also available in: Atom