General

Profile

zw963 (Wei Zheng)

  • Login: zw963
  • Registered on: 11/02/2010
  • Last connection: 10/22/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 8 12

Activity

04/24/2022

01:51 PM Ruby master Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
chrisseaton (Chris Seaton) wrote in #note-2:
> I've proposed some new specs to clarify something you might be confus...
zw963 (Wei Zheng)

04/23/2022

01:03 PM Ruby master Bug #18752 (Rejected): defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
Please check following IRB example which can be reproduce on ruby 3.1.0
```rb
3.1.0 :012 > defined? String.instan...
zw963 (Wei Zheng)

02/20/2022

01:21 PM Ruby master Feature #18481: Porting YJIT to Rust (request for feedback)
jeremyevans0 (Jeremy Evans) wrote in #note-7:
> maximecb (Maxime Chevalier-Boisvert) wrote in #note-6:
> > > believ...
zw963 (Wei Zheng)
01:05 PM Ruby master Feature #18481: Porting YJIT to Rust (request for feedback)

> I think Rust should be treated like OpenSSL. If you build Ruby without OpenSSL, Ruby doesn't download OpenSSL f...
zw963 (Wei Zheng)

12/25/2021

04:42 AM Ruby master Bug #18432: case ... when bug if add a extra comma on the end of condition.
mame (Yusuke Endoh) wrote in #note-1:
> ```
> case type
> when 'aaa',
> x = 100
> p x
> end
> ```
>
> i...
zw963 (Wei Zheng)
04:32 AM Ruby master Bug #18432 (Rejected): case ... when bug if add a extra comma on the end of condition.
I will describe how this bug happen for me.
1) I have code like this at first, it works!
```rb
type = 'aaa'
...
zw963 (Wei Zheng)

12/03/2021

03:44 PM Ruby master Bug #18375: Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly.
jeremyevans0 (Jeremy Evans) wrote in #note-2:
> I don't think this is a bug, and I don't think timeout can work with ...
zw963 (Wei Zheng)

12/01/2021

12:28 PM Ruby master Bug #18375 (Rejected): Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly.
Following is a example for describe this issue.
```rb
class DelayError < Exception
end
Timeout.timeout(2, Del...
zw963 (Wei Zheng)

11/20/2021

09:50 AM Ruby master Misc #18352 (Open): What is the Hash#grep expected?
Current ruby implement, When use Array#grep, the method name means is expected.
```
[19] pry(#<App>)> [:foo1, :f...
zw963 (Wei Zheng)

11/06/2021

12:36 PM Ruby master Feature #18291: When use =~ with named group, if regex is on the right side, variable not defined.
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> `regexp.rdoc` documents that the literal regexp must be on the left ...
zw963 (Wei Zheng)

Also available in: Atom