Skip to content

Commit

Permalink
Pass relaxed flag further up to parent lookup
Browse files Browse the repository at this point in the history
Fix for parameterized roles not found for FQN lookup if applied to a
parent class.
  • Loading branch information
vrurg committed Jan 11, 2020
1 parent 06292bc commit 27b3db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/Concretization.nqp
Expand Up @@ -77,7 +77,7 @@ role Perl6::Metamodel::Concretization {
}
unless $local {
for self.parents($obj, :local) {
@result := $_.HOW.concretization_lookup($_, $ptype, :local(0), :$transitive);
@result := $_.HOW.concretization_lookup($_, $ptype, :local(0), :$transitive, :$relaxed);
return @result if @result[0];
}
}
Expand Down

0 comments on commit 27b3db2

Please sign in to comment.