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 e10bae4 commit e2dedb8Copy full SHA for e2dedb8
src/how/NQPClassHOW.pm
@@ -264,10 +264,7 @@ knowhow NQPClassHOW {
264
if nqp::defined($dispatcher) {
265
# Yes. Only or dispatcher, though? If only, error. If
266
# dispatcher, simply add new dispatchee.
267
- if pir::is_dispatcher__IP($dispatcher) {
268
- pir::push_dispatchee__0PP($dispatcher, $code);
269
- }
270
- elsif nqp::can($dispatcher, 'is_dispatcher') && $dispatcher.is_dispatcher {
+ if nqp::can($dispatcher, 'is_dispatcher') && $dispatcher.is_dispatcher {
271
$dispatcher.add_dispatchee($code);
272
}
273
else {
0 commit comments