Skip to content

Commit

Permalink
Fix missing annotations in QAST dumps
Browse files Browse the repository at this point in the history
Earlier commit accidentally used wrong variable for
key lookup: 707eb7713f194aeb5
  • Loading branch information
zoffixznet committed Jun 28, 2018
1 parent 93fdb10 commit 9eda6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QAST/Node.nqp
Expand Up @@ -159,7 +159,7 @@ class QAST::Node {
nqp::push(@anns, self.dump_flags);
if nqp::ishash(%!annotations) {
for sorted_keys(%!annotations) -> $k {
my $v := %!annotations{$_};
my $v := %!annotations{$k};
try {
if nqp::isconcrete($v) {
if $k eq 'IN_DECL' || $k eq 'BY' || $k eq 'statement_id' {
Expand Down

0 comments on commit 9eda6a0

Please sign in to comment.