fcheung (Frederick Cheung)
- Login: fcheung
- Email: frederick.cheung@gmail.com
- Registered on: 12/12/2015
- Last sign in: 09/11/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
11/13/2023
-
11:16 PM Ruby Bug #18966: Strange behavior when numbered parameters and method definition are both used in a block
- Ruby 3.2.2 exhibits the same behaviour as above but on master ( as of b1f345b1 ) all of these now evaluate to 'a'
-
07:46 PM Ruby Bug #9010: ./configure --prefix= cannot handle directories with spaces
- Still happening on master as b1f345b1 when building on macos:
```
../configure --prefix="${HOME}/dir with space/.rubies/ruby-master"
make install
```
produces
```
...
linking shared-library libruby.3.3.dylib
clang: error: no...
07/02/2019
-
09:05 PM Ruby Feature #15976: Add Array#overlap? for whether the intersection of 2 arrays is non empty?
- shevegen (Robert A. Heiler) wrote:
> To me the name of the method appears to make sense and I am slightly in
> ...
Thanks. Matz suggested today that the name was not so clear to him. An alternative that springs to mind would be `inter... -
02:09 PM Ruby Feature #15976 (Closed): Add Array#overlap? for whether the intersection of 2 arrays is non empty?
- This is semantically equivalent to `(ary1 & ary2).any?`, but more efficient and makes the intent more obvious.
For example bundler [checks]( https://github.com/ruby/ruby/blob/master/lib/bundler/runtime.rb#L61 ) whether the list of req... -
02:31 PM Ruby Bug #15731: Wrong evaluation of many keyword default arguments in 2.3 - 2.5
- FYI, I see the bad behaviour on 2.6 and master too. I think the root of the issue is here: https://github.com/ruby/ruby/blob/master/vm_args.c#L405 - it uses a bitmask to capture which kwargs have been passed, and that bitmask is stored i...
06/14/2016
-
10:46 AM Ruby Bug #11954: "self has wrong type to call super in this context" under weird circumstances
- Koichi Sasada wrote:
> Shugo-san, thank you for your investigating.
> ...
Was this ever committed/backported ? I've encountered this in real world usage with 2.3.1, and Peter's reproduction script continues to show the issue (although ...
12/12/2015
-
06:24 PM Ruby Bug #11812 (Closed): Lack of space between colon and % literal causes syntax error
- The following snippet
~~~
{tags:%w(a)}
~~~
executes fine in ruby 2.2.3, but raises "syntax error, unexpected '%" when run under ruby 2.3.0preview2. When it is changed to
~~~
{tags: %w(a)}
~~~
Then it parses with ruby 2.3...