Skip to content

Commit

Permalink
Explicitly numify a list in Metamodel/ClassHOW.pm,
Browse files Browse the repository at this point in the history
  • Loading branch information
arnsholt committed Mar 26, 2013
1 parent b972ca3 commit 696b0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/ClassHOW.pm
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Perl6::Metamodel::ClassHOW
# building the MRO.
my $was_composed := $!composed;
unless $!composed {
if self.parents($obj, :local(1)) == 0 && self.has_default_parent_type && self.name($obj) ne 'Mu' {
if +self.parents($obj, :local(1)) == 0 && self.has_default_parent_type && self.name($obj) ne 'Mu' {
self.add_parent($obj, self.get_default_parent_type);
}
self.compute_mro($obj);
Expand Down

0 comments on commit 696b0f5

Please sign in to comment.