General

Profile

minoritea (Minori Tokuda)

  • Login: minoritea
  • Registered on: 09/30/2017
  • Last sign in: 03/28/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

03/12/2018

10:31 AM Ruby Bug #14598: [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
I tried to translate the original text.
----
Version:
ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-darwin17]
Environment:
MacOS 10.13.3
Macbook Pro(Core i7, 16GB RAM)
How to reproduce:
ruby -e 'fail "\n"'
On cal...
minoritea (Minori Tokuda)
10:17 AM Ruby Bug #14598: [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
Sorry to have sent the japanese report. I had to send it to ruby-dev. minoritea (Minori Tokuda)
10:07 AM Ruby Bug #14598 (Closed): [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
2.6.0-preview1にて表題の現象にぶつかったため報告致します。
バージョン:
ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-darwin17]
環境:
MacOS 10.13.3
Macbook Pro(Core i7, 16GB RAM)
再現方法:
ruby -e 'fail "\n"'
現象:
fail/raiseで文字列を飛ばしたとき、"\n"が含まれていると、...
minoritea (Minori Tokuda)

09/30/2017

11:32 AM Ruby Bug #13956 (Closed): Segmentation fault when calling Method#using with a non-module argument and block
Module#usingをモジュールでない引数とブロックをつけて呼び出すとクラッシュします。
再現プログラムは以下です。
~~~ ruby
def using(x)
yield x
end
using(1){ }
~~~
元々、別のメソッドに**using**と名付けてそれを呼び出すコードを書いてました(Module#usingの存在は失念していました)。
なぜそうなるのか理解していないのですが、トップレベルで定義したメソッドは...
minoritea (Minori Tokuda)

Also available in: Atom