Permalink
Browse files

Make try/CATCH exception case result in Nil.

This brings it in line with the try without explicit CATCH case.
  • Loading branch information...
1 parent b22982b commit e267037bb6c3a318db4448a1e819567aef9530d4 @jnthn jnthn committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Actions.pm
View
@@ -5322,7 +5322,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
%*HANDLERS{$type} := QAST::Stmts.new(
:node($/),
QAST::VM.new( :pirop('perl6_invoke_catchhandler__vPP'), $handler, $ex),
- QAST::Var.new( :scope('lexical'), :name('$!') )
+ QAST::Var.new( :scope('lexical'), :name('Nil') )
);
}

0 comments on commit e267037

Please sign in to comment.