Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Missing nqp::elems(...).
  • Loading branch information
jnthn committed Feb 1, 2013
1 parent 8f5a622 commit 3ef0749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nqp-src/nqp-mo.pm
Expand Up @@ -979,7 +979,7 @@ knowhow NQPClassHOW {

# Provided we have immediate parents...
my @result;
if @immediate_parents {
if nqp::elems(@immediate_parents) {
if nqp::elems(@immediate_parents) == 1 {
@result := compute_c3_mro(@immediate_parents[0]);
} else {
Expand Down

0 comments on commit 3ef0749

Please sign in to comment.