UlyssesZhan (Ulysses Zhan)
- Login: UlyssesZhan
- Email: ulysseszhan@pm.me
- Registered on: 08/16/2019
- Last sign in: 07/19/2023
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 0 | 6 | 6 |
Activity
07/19/2023
- 06:43 AM Ruby master Feature #19775 (Closed): Use the callback `main::const_added`
- In #17881, it was accepted that `Module#const_added` is called when there is a new constant added to the namespace of...
02/12/2021
- 09:27 AM Ruby master Bug #17623 (Closed): irb starts with some local variables already defined
- ``` ruby
irb(main):001:0> a = 1
=> 1
irb(main):002:0> def f = a
=> :f
irb(main):003:0> f
=> "D:/Ruby30-x64/lib/...
04/21/2020
- 10:37 AM Ruby master Bug #16797: Array#flatten not checking `respond_to? :to_ary`
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> Read the error message.
>
> ```
> -:4:in `flatten': can't convert Ob...
04/17/2020
- 10:04 AM Ruby master Bug #16797 (Rejected): Array#flatten not checking `respond_to? :to_ary`
- ```ruby
def (a = Object.new).method_missing(...)
Object.new
end
[a].flatten # TypeError
```
It should check w... - 08:23 AM Ruby master Feature #16796 (Rejected): Assigning local variables when using `case when regexp`
- I want to use
```ruby
case "str"
when /s(?<mid>.)r/
p mid
end
```
instead of
```ruby
case
when /s(?<mid>....
02/09/2020
- 07:59 AM Ruby master Bug #16617 (Closed): I can have instance methods bound to objects which are not their owner
- Usually, an UnboundMethod can only be bound to objects of its owner. However, sometimes the limitations can be circum...
08/16/2019
- 08:34 AM Ruby master Bug #16107 (Closed): Module#refine and Module#using behaved unexpectedly
- The issue happened when I tried to run the code below:
``` ruby
# Main.rb
class A
end
class B
end
module M1
...
Also available in: Atom