Skip to content

Commit e2dedb8

Browse files
committed
Eliminate a bit more of the old multi code.
1 parent e10bae4 commit e2dedb8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/how/NQPClassHOW.pm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,7 @@ knowhow NQPClassHOW {
264264
if nqp::defined($dispatcher) {
265265
# Yes. Only or dispatcher, though? If only, error. If
266266
# 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 {
267+
if nqp::can($dispatcher, 'is_dispatcher') && $dispatcher.is_dispatcher {
271268
$dispatcher.add_dispatchee($code);
272269
}
273270
else {

0 commit comments

Comments
 (0)