File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ knowhow NQPClassHOW {
66
66
if pir::isnull__IP($ code_obj ) || pir::isa__IPs($ code_obj , ' Undef' ) {
67
67
pir::die(" Cannot add a null method '$ name ' to class '$ ! name '" );
68
68
}
69
+ pir::set_method_cache_authoritativeness__vPi($ obj , 0 );
69
70
% ! methods {$ name } := $ code_obj ;
70
71
}
71
72
@@ -79,6 +80,7 @@ knowhow NQPClassHOW {
79
80
% todo <name > := $ name ;
80
81
% todo <code > := $ code_obj ;
81
82
@ ! multi_methods_to_incorporate [+ @ ! multi_methods_to_incorporate ] := % todo ;
83
+ pir::set_method_cache_authoritativeness__vPi($ obj , 0 );
82
84
$ code_obj ;
83
85
}
84
86
@@ -348,7 +350,8 @@ knowhow NQPClassHOW {
348
350
}
349
351
}
350
352
}
351
- pir::publish_method_cache($ obj , % cache )
353
+ pir::publish_method_cache($ obj , % cache );
354
+ pir::set_method_cache_authoritativeness__0Pi($ obj , 1 );
352
355
}
353
356
354
357
method publish_boolification_spec ($ obj ) {
You can’t perform that action at this time.
0 commit comments