General

Profile

zw963 (Wei Zheng)

  • Login: zw963
  • Registered on: 11/02/2010
  • Last sign in: 07/21/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 9 13

Activity

11/08/2022

06:56 AM Ruby Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
zw963 (Wei Zheng) wrote in #note-6:
> zw963 (Wei Zheng) wrote in #note-4:
> ...
Hi, this issue get workaround by looksee gem, so, it works now.
Thanks.
zw963 (Wei Zheng)

10/28/2022

02:44 AM Ruby Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
zw963 (Wei Zheng) wrote in #note-4:
> mame (Yusuke Endoh) wrote in #note-2:
> ...
Any update?
zw963 (Wei Zheng)

10/06/2022

05:27 AM Ruby Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
mame (Yusuke Endoh) wrote in #note-2:
> Please write your ticket as self-contained and concise as possible.
Done edit, please check.
zw963 (Wei Zheng)

10/05/2022

11:24 AM Ruby Bug #19037 (Feedback): [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
When work with ruby 3.1.X, [looksee](https://github.com/oggy/looksee) gem could not display color character correct in new version IRB, as you can see as following:
```
^[[1;37m[Roda::RodaPlugins::Sprockets::Task instance]^[[0m
^[...
zw963 (Wei Zheng)

04/24/2022

01:51 PM Ruby 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 confused about.
> ...
Yes, that is my mistake, thank you very much.
zw963 (Wei Zheng)

04/23/2022

01:03 PM Ruby 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.instance_method(:abcdefg)
=> "method"
3.1.0 :013 > defined? String.instance_method(:abcdefg111111111111)
=> "method"
3...
zw963 (Wei Zheng)

02/20/2022

01:21 PM Ruby Feature #18481: Porting YJIT to Rust (request for feedback)
jeremyevans0 (Jeremy Evans) wrote in #note-7:
> maximecb (Maxime Chevalier-Boisvert) wrote in #note-6:
> ...
Just want to mention, When build emacs editor from source, it will check the available feature when do ./configure, if one fea...
zw963 (Wei Zheng)
01:05 PM Ruby 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 for you, it just doesn't build the openssl extension. Similarly, if you build Ruby without Rust, Ruby just won't build yj...
zw963 (Wei Zheng)

12/25/2021

04:42 AM Ruby Bug #18432: case ... when bug if add a extra comma on the end of condition.
mame (Yusuke Endoh) wrote in #note-1:
> ```
> ...
Yes, i see now, but this behavior is a little oddness, from programming language perspective, this default behavior not good.
e.g. i add a binding.irb, like this, it so strange.
...
zw963 (Wei Zheng)
04:32 AM Ruby 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'
case type
when 'aaa'
x = 100
p x
when 'bbb'
x = 100
p x
end
# => 100
```
2) Because the code in w...
zw963 (Wei Zheng)

Also available in: Atom