bughit (bug hit)
- Login: bughit
- Registered on: 10/29/2014
- Last connection: 11/21/2021
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 6 | 29 | 35 |
Activity
01/06/2022
-
11:13 PM Ruby master Feature #18461: closures are capturing unused variables
- > That's of no use then, that's just not the semantics of Proc#binding, which is to capture every variable at the pla...
-
05:38 PM Ruby master Feature #18461: closures are capturing unused variables
- > uncaptured ones are on the stack and disappear with the stack frame. You can't get them back later.
That's actua... -
05:00 PM Ruby master Feature #18461: closures are capturing unused variables
- > However, as soon as you call proc.binding.local_variables, you should see all local variables in scope (deoptimizin...
-
04:26 PM Ruby master Feature #18461: closures are capturing unused variables
- > But, maybe we could deprecate Proc#binding and remove it, I think that would be a good start.
There's no such ne... -
12:19 AM Ruby master Feature #18461: closures are capturing unused variables
- Interning string literals also breaks code, but it's worth moving in that direction, and here also.
Note the follo...
01/05/2022
-
11:45 PM Ruby master Feature #18461 (Rejected): closures are capturing unused variables
- ```rb
def foo
a = 1
->{}
end
p foo.binding.local_variables # [:a]
```
Shouldn't `a` be optimized away?...
12/02/2021
-
07:35 PM Ruby master Feature #17721: Proc.new should be able to contruct a lambda
- Why a new ticket? What's wrong with this one? If you wanted clarification you didn't have to close it, and even now y...
11/19/2021
-
08:48 PM Ruby master Feature #11256: anonymous block forwarding
- > I strongly agree with matz on this, methods taking a block should be clear about it, including in the parameters.
...
11/18/2021
-
10:35 PM Ruby master Feature #11256: anonymous block forwarding
- jeremyevans0 (Jeremy Evans) wrote in #note-19:
>
> > Does it mean the block is required?
>
> No, just as `&block... -
09:59 PM Ruby master Feature #11256: anonymous block forwarding
- mame (Yusuke Endoh) wrote in #note-16:
> @matz accepted this, but said that the formal argument must explicitly rece...
Also available in: Atom