General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 12/19/2024

Issues

open closed Total
Assigned issues 3 17 20
Reported issues 1 44 45

Projects

Project Roles Registered on
Ruby master Committer 03/19/2021

Like

Activity

12/20/2024

11:40 PM Ruby master Bug #20974: Required and optional anonymous parameter show differently in Proc#parameters
It's not hard to patch this small issue. We need consensus on whether this is an issue and what the new behavior shou... alanwu (Alan Wu)
11:18 PM Ruby master Bug #20974 (Open): Required and optional anonymous parameter show differently in Proc#parameters
The following has had the same output since Ruby 1.9, when Proc#parameters was [introduced]:
```ruby
p(proc {...
alanwu (Alan Wu)
06:16 PM Ruby master Bug #20970: `it /1/i` raises undefined method 'it' for main (NoMethodError) even if binding.local_variables includes `it`
Sorry, I was too quick to blame Prism. I agree that having `it` as a local brings hidden semantic complexity that war... alanwu (Alan Wu)

12/19/2024

05:28 PM Ruby master Revision 5978f2f1 (git): Fix use-after-free in vm_ccs_free()
`struct rb_callcache *` point to an imemo object on the GC heap when
pushed into `struct rb_class_cc_entries`, but by...
alanwu (Alan Wu)
05:17 PM Ruby master Bug #20970: `it /1/i` raises undefined method 'it' for main (NoMethodError) even if binding.local_variables includes `it`
Prism outputs undesired parse tree with the example. alanwu (Alan Wu)
03:32 PM Ruby master Revision ce849d56 (git): ruby2_keywords warnings: Quote non-UTF8 method names fully
It used to quote only part of the method name because NUL byte in
the method terminates the C string:
```
(irb)> "ab...
alanwu (Alan Wu)

12/18/2024

11:42 PM Ruby master Bug #20966 (Rejected): Unary plus String warns about freezing
`+"\x1f\x8b".force_encoding("BINARY")` is parsed as
`+( "\x1f\x8b".force_encoding("BINARY") )` and the warning is com...
alanwu (Alan Wu)
02:50 AM Ruby master Revision 6336431a (git): [DOC] rb_id2name(): Note truncation danger (+minor copyediting)
Thanks, nobu! alanwu (Alan Wu)

12/16/2024

11:43 PM Ruby master Revision 2eee7a52 (git): Export __asan_default_options for GCC
Unlike Clang 15, GCC 11 seems require default symbol visibility. alanwu (Alan Wu)
10:11 PM Ruby master Revision 2102fe32 (git): Detect ASAN when using older GCC versions
Newer GCCs have __has_feature and older ones have
__SANITIZE_ADDRESS__[1]. Relevant since ASAN with GCC 11 on the pop...
alanwu (Alan Wu)

Also available in: Atom