Skip to content
Permalink
Browse files

Simplify "Signally" and move it from CORE::

By moving it into the Signal package
  • Loading branch information...
lizmat committed Mar 20, 2019
1 parent 4825f31 commit 45eb1c5f3478aef7c2610fd5cfd9781acb60abd8
Showing with 3 additions and 7 deletions.
  1. +3 −6 src/core/signals.pm6
  2. +0 −1 t/08-performance/03-corekeys.t
@@ -1,10 +1,7 @@
my role Signally {
multi method CALL-ME(Int() $signum) {
return self unless $signum;
nextsame
}
my role Signal::Signally {
multi method CALL-ME(Int() $signum) { $signum ?? (nextsame) !! self }
}
my enum Signal does Signally ( |do {
my enum Signal does Signal::Signally ( |do {
my $res := nqp::list;
my $iter := nqp::iterator(nqp::getsignals);
nqp::push(
@@ -687,7 +687,6 @@ my %allowed = (
Q{SetHash},
Q{Setty},
Q{Signal},
Q{Signally},
Q{Signature},
Q{Slang},
Q{Slip},

0 comments on commit 45eb1c5

Please sign in to comment.
You can’t perform that action at this time.