Skip to content

Commit

Permalink
Fix build on Parrot after indy-args work.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Dec 6, 2013
1 parent ee45ffe commit ed3c300
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/QAST/Node.nqp
Expand Up @@ -21,8 +21,15 @@ class QAST::Node {
$new;
}

method node($value = NO_VALUE) { $!node := $value unless $value =:= NO_VALUE; $!node }
method returns($value = NO_VALUE) { $!returns := $value unless $value =:= NO_VALUE; $!returns }
method node($value = NO_VALUE) {
$!node := $value unless $value =:= NO_VALUE;
$!node := NQPMu if nqp::isnull($value);
$!node
}
method returns($value = NO_VALUE) {
$!returns := $value unless $value =:= NO_VALUE;
$!returns
}

method named($value = NO_VALUE) {
if $value =:= NO_VALUE {
Expand Down

0 comments on commit ed3c300

Please sign in to comment.