sampokuokkanen (Sampo Kuokkanen)
- Login: sampokuokkanen
- Registered on: 05/21/2026
- Last sign in: 05/21/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/11/2026
05/27/2026
-
05:12 AM Ruby Revision 261eea42 (git): Fix tautological assertions in test_each_value in test_hash.rb
- Both assertions tested `[].length == 0` rather than `res.length`,
so the test passed even when `each_value` yielded nothing.
05/26/2026
-
09:34 AM Ruby Revision 6c1c3de9 (git): Test mixed-case input in test_upcase
- `S("hello").upcase` was asserted twice, leaving mixed-case input
uncovered. Mirror test_downcase's `S("helLO")` shape.
Also removed duplicate test on line 854.
05/22/2026
-
01:02 AM Ruby Revision c5c29276 (git): Fix defined? for protected methods defined in a module
- me->defined_class is 0 for methods stored on a module, so the
protected visibility check in vm_defined always failed and defined?
returned nil even when the call would succeed.
Use rb_callable_method_entry_with_refinements (where define...
05/21/2026
-
09:04 AM Ruby Bug #22076 (Closed): defined? returns nil for protected methods defined in a module even when callable
- Applied in changeset commit:git|d1391a000359655f948e16d7f2b0e85890082b5a.
----------
Fix defined? for protected methods defined in a module
me->defined_class is 0 for methods stored on a module, so the
protected visibility check in vm_... -
08:14 AM Ruby Bug #22076 (Closed): defined? returns nil for protected methods defined in a module even when callable
- Filing this to confirm whether defined? should return "method" here (matching the call check), or whether the current nil behavior is intentional.
### Summary
`defined?` returns `nil` for a protected method defined in a module, eve... -
09:04 AM Ruby Revision d1391a00 (git): Fix defined? for protected methods defined in a module
- me->defined_class is 0 for methods stored on a module, so the
protected visibility check in vm_defined always failed and defined?
returned nil even when the call would succeed.
Use rb_callable_method_entry_with_refinements (where define...