Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove bogus defined test in sink handling.
This means that Failure is now correctly sunk.
  • Loading branch information
jnthn committed Jan 10, 2013
1 parent 45c445a commit 8ca20db
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Perl6/Actions.pm
Expand Up @@ -59,14 +59,9 @@ class Perl6::Actions is HLL::Actions does STDActions {
QAST::Op.new(:op<isconcrete>,
QAST::Var.new(:$name, :scope<local>),
),
QAST::Op.new(:op<if>,
QAST::Op.new(:op<can>,
QAST::Var.new(:$name, :scope<local>),
QAST::SVal.new(:value('sink')),
),
QAST::Op.new(:op<defined>,
QAST::Var.new(:$name, :scope<local>),
)
QAST::Op.new(:op<can>,
QAST::Var.new(:$name, :scope<local>),
QAST::SVal.new(:value('sink')),
)
),
QAST::Op.new(:op<callmethod>, :name<sink>,
Expand Down

0 comments on commit 8ca20db

Please sign in to comment.