Re:Ruby 3.4, No More TypeError with **Nil as It Is Treated a...
by kevincox on Tuesday May 14, 2024 @09:09AM
(#40354852)
This tricks me all of the time. Part of me wants for it to work to avoid allocating an empty array object in situations like `[...opts?.foo.map(format)]`. On the other hand I appreciate the stricter type safety.
[ Parent
| on HN ]
There are no comments on this comment yet.