General

Profile

osyo (manga osyo)

  • Login: osyo
  • Registered on: 11/29/2017
  • Last connection: 04/13/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 6 22 28

Activity

03/31/2021

03:04 AM Ruby master Bug #17764: ブロック付きメソッドにおけるproc(または Proc.new)の参照がArgumentErrorを吐く問題
firelzrd (Masahito Suzuki) wrote in #note-4:
> ご返答ありがとうございます。
> ご主旨、理解いたしました。ご教示ありがとうございます。お騒がせいたしました。
>
> つきまして...
osyo (manga osyo)
12:56 AM Ruby master Bug #17764: ブロック付きメソッドにおけるproc(または Proc.new)の参照がArgumentErrorを吐く問題
Ruby 3.0 からはブロック引数がない `Proc.new` / `proc` は `ArgumentError` になるようになりました。
> ブロックを指定しない lambda は Ruby 2.6 までは警告メッセージ...
osyo (manga osyo)

03/10/2021

01:31 PM Ruby master Feature #17674: Proposal: `Method#source_location` or `Method#owner` for refined methods
hi.
In Ruby 2.7 and later, `#method` supports Refinements.
```ruby
# test.rb
module Cover
refine Range do
...
osyo (manga osyo)

01/17/2021

03:58 AM Ruby master Revision b84b253a (git): Fix Ripper with heredoc.
osyo (manga osyo)

01/16/2021

08:13 PM Ruby master Bug #17547 (Closed): Fix `Ripper.lex("a <<b")`
`Ripper.lex("a <<b")` was not parsed correctly.
```ruby
require "ripper"
p Ripper.lex("a <<b")
# Expected beh...
osyo (manga osyo)

12/26/2020

12:56 PM Ruby master Feature #17471: send_if method for improved conditional chaining
hi.
How about using `#tap` + `break` ?
```ruby
# Proposal
puts number.send_if(:*, 2) {|obj| obj > 5}.send(:-, 1...
osyo (manga osyo)

12/22/2020

09:28 AM Ruby master Bug #17405: irb ---nomultiline gets exception when output contains some non-ascii characters
hi.
This error is caused by [calling `Reline::Unicode.calculate_width` in `irb`](https://github.com/ruby/irb/blob/...
osyo (manga osyo)

12/08/2020

02:09 PM Ruby master Bug #17377: A warning message doesn't display using -W option on irb
Thanks issues :)
There was no warning message in Ruby 3.0.0.0dev either.
```ruby
~ $ irb -W
irb(main):001:0> RU...
osyo (manga osyo)

12/04/2020

05:58 PM Ruby master Revision e47e5db8 (git): [ruby/reline] Fix crash to input `é`. refs #174
https://github.com/ruby/reline/commit/ba5e267e5f osyo (manga osyo)
05:58 PM Ruby master Revision 21f26018 (git): [ruby/reline] Add test `Reline::Unicode.test_get_mbchar_width`.
https://github.com/ruby/reline/commit/301e9048fc osyo (manga osyo)

Also available in: Atom