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 5 6 11

Activity

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)

11/05/2021

03:12 PM Ruby master Feature #18291 (Open): When use =~ with named group, if regex is on the right side, variable not defined.
Following code not work.
```rb
if "Billy Zheng" =~ /(?<first_name>\w+)\s+(?<last_name>\w+)/
p first_name
...
zw963 (Wei Zheng)

10/30/2021

05:00 PM Ruby master Feature #18279 (Assigned): ENV.merge! support multiple arguments as Hash.merge!
I give a useful example for this.
```rb
require 'yaml'
env_files = ['config.yml', 'config.local']
envs = env_fi...
zw963 (Wei Zheng)

10/24/2021

04:11 PM Ruby master Feature #18265: Self-contained one-binary feature which discuss on ruby kaigi 2021 day 2, 《 Ruby Committers vs the World / CRuby Committers》
duerst (Martin Dürst) wrote in #note-4:
> - Fixed typo in Subject
>
> - When proposing a feature, please describe...
zw963 (Wei Zheng)

10/23/2021

01:02 PM Ruby master Feature #18265 (Open): Self-contained one-binary feature which discuss on ruby kaigi 2021 day 2, 《 Ruby Committers vs the World / CRuby Committers》
![](clipboard-202110232053-mgbon.png)
https://www.youtube.com/watch?v=zQnN1pqK4FQ
Yes, what i said is this.
...
zw963 (Wei Zheng)

Also available in: Atom