Skip to content

Commit a4b32bb

Browse files
committed
Correct dispatcher test in multi incorporation.
1 parent cd2d658 commit a4b32bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/how/NQPClassHOW.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ knowhow NQPClassHOW {
210210
if pir::is_dispatcher__IP($dispatcher) {
211211
pir::push_dispatchee__0PP($dispatcher, $code);
212212
}
213-
elsif pir::can($dispatcher, 'add_dispatchee') {
213+
elsif pir::can($dispatcher, 'is_dispatcher') && $dispatcher.is_dispatcher {
214214
$dispatcher.add_dispatchee($code);
215215
}
216216
else {

0 commit comments

Comments
 (0)