Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unbreak warnings. (Oops.)
  • Loading branch information
jnthn committed May 15, 2009
1 parent e86dd9e commit 6ac1eaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions perl6.pir
Expand Up @@ -212,6 +212,12 @@ and report exceptions.
trap_errors:
.local pmc exception, bt, it, cur_block, anno
.get_results (exception)
$I0 = exception['severity']
if $I0 != .EXCEPT_WARNING goto not_warning
say exception
$P0 = exception["resume"]
$P0()
not_warning:
pop_eh
bt = exception.'backtrace'()
it = iter bt
Expand Down

0 comments on commit 6ac1eaf

Please sign in to comment.