General

Profile

ktsj (Kazuki Tsujimoto)

Issues

Projects

Activity

11/20/2019

12:58 AM Ruby master Feature #16355 (Open): Raise NoMatchingPatternError when `expr in pat` doesn't match
Currently, single line pattern matching(`expr in pat`) returns true or false.
```
[1, 2, 3] in [x, y, z] #=> true...
ktsj (Kazuki Tsujimoto)

11/19/2019

09:50 PM Ruby master Bug #16354 (Closed): Memory corruption in Enumerable#reverse_each
Applied in changeset commit:git|ff41663403d3eb76d95f465cb94e14d2faaa04d1.
----------
Fix memory corruption in Enumer...
ktsj (Kazuki Tsujimoto)
09:34 PM Ruby master Bug #16354 (Closed): Memory corruption in Enumerable#reverse_each
Enumerable#reverse_eachのブロック呼び出し中に、対象のEnumerableをto_aしたものを捕まえてサイズを変更するとSEGVすることがあります。
```
$ ruby -e '(0...1000).r...
ktsj (Kazuki Tsujimoto)
09:35 PM Ruby master Revision ff416634 (git): Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867] [Bug #16354]
ktsj (Kazuki Tsujimoto)
02:53 PM Ruby master Revision 2439948b (git): Avoid needless object allocation
ktsj (Kazuki Tsujimoto)

11/10/2019

01:53 PM Ruby master Feature #15917 (Closed): Pattern matching for Struct
ktsj (Kazuki Tsujimoto)
01:40 PM Ruby master Feature #16182 (Open): Should `expr in a, b, c` be allowed or not?
ktsj (Kazuki Tsujimoto)
01:39 PM Ruby master Feature #16182 (Closed): Should `expr in a, b, c` be allowed or not?
Applied in changeset commit:git|6e70fa49b111e2a2839297b057a3df354cae265a.
----------
Disallow omission of parenthese...
ktsj (Kazuki Tsujimoto)
01:34 PM Ruby master Revision 6e70fa49 (git): Disallow omission of parentheses/brackets in single line pattern matching [Feature #16182]
ktsj (Kazuki Tsujimoto)

11/09/2019

12:12 PM Ruby master Revision 79f0e7aa (git): Fix typos
ktsj (Kazuki Tsujimoto)

Also available in: Atom