Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove bogus defined test in sink handling.

This means that Failure is now correctly sunk.
  • Loading branch information...
commit 8ca20dba80d5ba80cad56f950d9e85e434420a68 1 parent 45c445a
@jnthn jnthn authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/Perl6/Actions.pm
View
11 src/Perl6/Actions.pm
@@ -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>,
Please sign in to comment.
Something went wrong with that request. Please try again.