Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #530 from Leont/debugger
Handle new if statement definition
  • Loading branch information
jnthn committed Sep 14, 2015
2 parents 3655638 + e7b27c4 commit bdcccf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perl6-debug.nqp
Expand Up @@ -198,7 +198,7 @@ class Perl6::HookActions is Perl6::Actions {

method statement_control:sym<if>($/) {
if $*DEBUG_HOOKS.has_hook('statement_cond') {
my $from := $<sym>.from;
my $from := $<sym>[0].from;
for $<xblock> {
my $ast := $_.ast;
$ast[0] := QAST::Stmts.new(
Expand Down

0 comments on commit bdcccf0

Please sign in to comment.