General

Profile

pkmuldoon (Phil Muldoon)

  • Login: pkmuldoon
  • Registered on: 01/06/2021
  • Last sign in: 01/06/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

02/10/2021

10:14 AM Ruby master Bug #17619: if false foo=42; end creates a foo local variable set to nil
While the hoisting issue is meh to mostly okay, I guess, this block:
```
if false
foo = 32
end
defined?(foo...
pkmuldoon (Phil Muldoon)
09:41 AM Ruby master Bug #17619: if false foo=42; end creates a foo local variable set to nil
pkmuldoon (Phil Muldoon) wrote in #note-3:
> The second code example is incorrect, it should read
>
> ```
> 1] p...
pkmuldoon (Phil Muldoon)
09:39 AM Ruby master Bug #17619: if false foo=42; end creates a foo local variable set to nil
The second code example is incorrect, it should read
```
1] pry(main)> defined?(bar)
nil
[2] pry(main)> if tr...
pkmuldoon (Phil Muldoon)
09:37 AM Ruby master Bug #17619: if false foo=42; end creates a foo local variable set to nil
This affects Ruby 2.7.1 and also Ruby 3.0.0. I've not had time to test earlier versions. pkmuldoon (Phil Muldoon)
09:36 AM Ruby master Bug #17619 (Rejected): if false foo=42; end creates a foo local variable set to nil
Take this following code
```
[1] pry(main)> defined?(foo)
nil
[2] pry(main)> if false
[2] pry(main)* foo =...
pkmuldoon (Phil Muldoon)

01/07/2021

04:27 PM Ruby master Bug #17516: forking in a ractor causes Ruby to crash
I'm wondering if we can limit Process calls in the ractor as we do for accessing out of band variables? I've not had ... pkmuldoon (Phil Muldoon)

01/06/2021

11:10 AM Ruby master Bug #17516: forking in a ractor causes Ruby to crash
ruby --version
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
pkmuldoon (Phil Muldoon)
10:56 AM Ruby master Bug #17516 (Assigned): forking in a ractor causes Ruby to crash
I just want to point out, there's absolutely no reason to do this, but
r = Ractor.new do
Process.fork()
end
...
pkmuldoon (Phil Muldoon)

Also available in: Atom