We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded87cc commit ef77cffCopy full SHA for ef77cff
src/how/NQPClassHOW.pm
@@ -222,12 +222,8 @@ knowhow NQPClassHOW {
222
self.add_parent($obj, $!default_parent)
223
}
224
225
- # Some things we only do if we weren't already composed once, like building
226
- # the MRO.
227
- unless $!composed {
228
- @!mro := compute_c3_mro($obj);
229
- $!composed := 1;
230
- }
+ # Compute the MRO.
+ @!mro := compute_c3_mro($obj);
231
232
# Incorporate any new multi candidates (needs MRO built).
233
self.incorporate_multi_candidates($obj);
@@ -246,6 +242,9 @@ knowhow NQPClassHOW {
246
242
247
243
# Create BUILDPLAN.
248
244
self.create_BUILDPLAN($obj);
245
+
+ # Mark as composed.
+ $!composed := 1;
249
250
$obj
251
0 commit comments