Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
"die" will now say "Died"
  • Loading branch information
lizmat committed Aug 4, 2014
1 parent ded723a commit 23c4ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/control.pm
Expand Up @@ -142,7 +142,7 @@ my &samewith := -> *@pos, *%named {

proto sub die(|) is hidden_from_backtrace {*};
multi sub die(Exception $e) is hidden_from_backtrace { $e.throw }
multi sub die($payload) is hidden_from_backtrace {
multi sub die($payload = "Died") is hidden_from_backtrace {
X::AdHoc.new(:$payload).throw
}
multi sub die(*@msg) is hidden_from_backtrace {
Expand Down

0 comments on commit 23c4ea2

Please sign in to comment.