Skip to content

Commit

Permalink
Update BUILDPLAN debug script
Browse files Browse the repository at this point in the history
Which was the last mention of nqp::attrinited.
  • Loading branch information
jnthn committed Dec 7, 2021
1 parent f96048c commit 80f122d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BUILDPLAN.rakumod
Expand Up @@ -132,7 +132,7 @@ sub showop(@actions --> Str:D) {
my $reason = @actions[3] === 1
?? "it is required"
!! @actions[3];
qq/die "because $reason" unless nqp::attrinited(obj,$type,$attr)/
qq/die "because $reason" unless nqp::p6attrinited(nqp::getattr(obj,$type,$attr))/
}
elsif $op == 9 {
"nqp::getattr(obj,$type,$attr) := initializer-code()"
Expand Down

0 comments on commit 80f122d

Please sign in to comment.