General

Profile

taichi730 (Taichi Ishitani)

  • Login: taichi730
  • Registered on: 07/26/2022
  • Last sign in: 12/28/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

12/26/2025

03:40 AM Ruby Bug #21807 (Closed): ArgumentError is reported when forwarding arguments to method with intermediate optional arguments
In Ruby 3.4.x, `ArgumentError` is reported when forwarding arguments to a method with intermediate optional arguments.
How to reproduce:
Execute sample below.
``` ruby
class Foo
def foo(a = nil, b)
p a, b
end
end
...
taichi730 (Taichi Ishitani)

02/08/2025

03:44 PM Ruby Bug #21123: instance_exec with curried proc
Hi @mame san,
Thanks for your explanation and I understood the reason of this behavior.
I have no reasonable thought but I think it would be nice that curried blocks are able to be executed by `#instance_exec`.
taichi730 (Taichi Ishitani)

02/07/2025

02:54 PM Ruby Bug #21123 (Rejected): instance_exec with curried proc
I have a question about behavior of `#instance_exec` with a curried proc.
When running `#instance_exex` with a curried proc, it appears that the given proc is executed on the context where it is created but not the receiver object.
...
taichi730 (Taichi Ishitani)

07/08/2024

02:47 PM Ruby Bug #20615: [Regexp] Incorrect match result for Regexp including unicode property
This regexp pattern is invalid.
Sorry for my mistake.
taichi730 (Taichi Ishitani)
02:34 PM Ruby Bug #20615 (Closed): [Regexp] Incorrect match result for Regexp including unicode property
A regex pattern including an unicode property is not matched correctly.
``` ruby
/\A *\z/.match?('') # => true
/\Ap{White_Space}*\z/.match?('') # => false
```
I think both of these patterns should be matched but the later patter...
taichi730 (Taichi Ishitani)

12/28/2022

03:56 AM Ruby Bug #19273: [Regexp] regexp does not match expected
Pattern using `*` quantifier instead of `{0,3}` quantifier matches expactedly.
```
irb(main):027:0> pattern = /(?-mix:(?i-mx:[+-]?0b[01](?:_?[01])*)|(?-mix:[+-]?(?:[1-9]_?(?:\d_?)*)?\d)|(?i-mx:[+-]?0x\h(?:_?\h)*))(?::(?-mix:(?i-mx:[+-]?...
taichi730 (Taichi Ishitani)
03:39 AM Ruby Bug #19273: [Regexp] regexp does not match expected
This pattern shows a binary|decimal|hexadecimal value splitted by : character.
decimal only and decimal|hexadecimal patterns match expectedly.
decimal only pattern:
```
irb(main):019:0> pattern = /(?-mix:[+-]?(?:[1-9]_?(?:\d_?)...
taichi730 (Taichi Ishitani)
03:10 AM Ruby Bug #19273 (Closed): [Regexp] regexp does not match expected
A regexp pattern does not match expected with Ruby 3.2.
Ruby 3.2
``` ruby
pattern = /(?-mix:(?i-mx:[+-]?0b[01](?:_?[01])*)|(?-mix:[+-]?(?:[1-9]_?(?:\d_?)*)?\d)|(?i-mx:[+-]?0x\h(?:_?\h)*))(?::(?-mix:(?i-mx:[+-]?0b[01](?:_?[01])*)|(...
taichi730 (Taichi Ishitani)

09/10/2022

12:31 PM Ruby Bug #18998: Kernel#Integer does not convert SimpleDelegator object expectly
> it would be best if you defined #to_int on your delegator
I've tried this approach but it was failed because `base` and `exception` arguments cannot be passed to `#to_i` method on my delegator.
Therefore, I've overridden `Kernel#In...
taichi730 (Taichi Ishitani)

09/09/2022

05:10 PM Ruby Bug #18998: Kernel#Integer does not convert SimpleDelegator object expectly
Thank you for your reply.
I understood that there is no documented specification and the current implementation.
How should Integer method behave for this case?
My thought is that Integer method should convert a Delegator object lik...
taichi730 (Taichi Ishitani)

Also available in: Atom