# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #132016]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=132016 >
Command:
# run it and then send SIGINT (e.g. with Ctrl+C)
perl6 -e 'react whenever signal(SIGINT).merge(signal(SIGTERM)) { say ‘hey!’;
exit 0 }'
Result:
hey!
Command:
# run it and then send SIGINT (e.g. with Ctrl+C)
perl6 -e 'react whenever signal(SIGTERM).merge(signal(SIGINT)) { say ‘hey!’;
exit 0 }'
Result:
Unhandled exception in code scheduled on thread 10
Cannot resolve caller postcircumfix:<[ ]>(Mu, Int); none of these signatures
match:
(\SELF, Any:U $type, |c is raw)
(\SELF, int $pos)
(\SELF, int $pos, Mu \assignee)
(\SELF, int $pos, Mu :$BIND! is raw)
(\SELF, int $pos, :$delete!, *%other)
(\SELF, int $pos, :$exists!, *%other)
(\SELF, int $pos, :$kv!, *%other)
(\SELF, int $pos, :$p!, *%other)
(\SELF, int $pos, :$k!, *%other)
(\SELF, int $pos, :$v!, *%other)
(\SELF, Int:D $pos)
(\SELF, Int:D $pos, Mu \assignee)
(\SELF, Int:D $pos, Mu :$BIND! is raw)
(\SELF, Int:D $pos, :$delete!, *%other)
(\SELF, Int:D $pos, :$exists!, *%other)
(\SELF, Int:D $pos, :$kv!, *%other)
(\SELF, Int:D $pos, :$p!, *%other)
(\SELF, Int:D $pos, :$k!, *%other)
(\SELF, Int:D $pos, :$v!, *%other)
(\SELF, Any:D \pos)
(\SELF, Any:D \pos, Mu \assignee)
(\SELF, Any:D \pos, Mu :$BIND! is raw)
(\SELF, Any:D \pos, :$delete!, *%other)
(\SELF, Any:D \pos, :$exists!, *%other)
(\SELF, Any:D \pos, :$kv!, *%other)
(\SELF, Any:D \pos, :$p!, *%other)
(\SELF, Any:D \pos, :$k!, *%other)
(\SELF, Any:D \pos, :$v!, *%other)
(\SELF, Iterable:D \pos)
(\SELF, Iterable:D \pos, Mu \val)
(\SELF, Iterable:D \pos, :$BIND!)
(\SELF, Iterable:D \pos, :$delete!, *%other)
(\SELF, Iterable:D \pos, :$exists!, *%other)
(\SELF, Iterable:D \pos, :$kv!, *%other)
(\SELF, Iterable:D \pos, :$p!, *%other)
(\SELF, Iterable:D \pos, :$k!, *%other)
(\SELF, Iterable:D \pos, :$v!, *%other)
(\SELF, Callable:D $block)
(\SELF, Callable:D $block, Mu \assignee)
(\SELF, Callable:D $block, :$BIND!)
(\SELF, Callable:D $block, :$delete!, *%other)
(\SELF, Callable:D $block, :$exists!, *%other)
(\SELF, Callable:D $block, :$kv!, *%other)
(\SELF, Callable:D $block, :$p!, *%other)
(\SELF, Callable:D $block, :$k!, *%other)
(\SELF, Callable:D $block, :$v!, *%other)
(\SELF, Whatever:D)
(\SELF, Whatever:D, Mu \assignee)
(\SELF, Whatever:D, :$BIND!)
(\SELF, Whatever:D, :$delete!, *%other)
(\SELF, Whatever:D, :$exists!, *%other)
(\SELF, Whatever:D, :$kv!, *%other)
(\SELF, Whatever:D, :$p!, *%other)
(\SELF, Whatever:D, :$k!, *%other)
(\SELF, Whatever:D, :$v!, *%other)
(\SELF, HyperWhatever:D, *%adv)
(\SELF, HyperWhatever:D, Mu \assignee)
(\SELF, :$BIND!)
(\SELF, :$delete!, *%other)
(\SELF, :$exists!, *%other)
(\SELF, :$kv!, *%other)
(\SELF, :$p!, *%other)
(\SELF, :$k!, *%other)
(\SELF, :$v!, *%other)
(\SELF, *%other)
I think there's something wrong.