Further discussion on https://github.com/rakudo/rakudo/issues/1588
On 2017-10-18 03:46:20, c...@zoffix.com wrote: > On Sat, 14 Oct 2017 08:29:50 -0700, c...@zoffix.com wrote: > > Something fishy going on with the Signals enum. If that's fixed then > > the > > regression you pointed out will be fixed as well, as the new method > > simply > > uses enum's `.value` to get the signal number: > > > > <Zoffix__> c: 79b8ab9d3f^,79b8ab9d3f,HEAD say SIGUSR1.Numeric; say > > SIGUSR1.value; say $*KERNEL.signal: SIGUSR1 > > <committable6> Zoffix__, ¦79b8ab9d3f^: «303010» > > ¦79b8ab9,HEAD(cc6c055): «303030» > > > There's also a failing spectest on Windows that expects both of these > to give same value (on and Linux, they do): > > C:\rakudo>perl6 -e "$*KERNEL.signal('SIGHUP').say" > 3 > > C:\rakudo>perl6 -e "$*KERNEL.signal(SIGHUP).say" > 1