# New Ticket Created by  Vasily Chekalkin 
# Please include the string:  [perl #55506]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55506 >


Hello.

MMD try to deref parameters during dispatch.

<bacek> rakudo: sub is($q, $e, $d) { say $q ~~ $e}; my Int $a; 
is((try{$a='foo';}), undef, 'foo')
<p6eval> rakudo r28192 OUTPUT[Method 'ACCEPTS' not found for invocant of 
class 'Failure'␤current instr.: 'infix:~~' pc 8870 
(src/gen_builtins.pir:5963)␤

This on expected.

<bacek> rakudo: multi sub is($q, $e, $d) { say $q ~~ $e}; my Int $a; 
is((try{$a='foo';}), undef, 'foo')
<p6eval> rakudo r28192 OUTPUT[Null PMC access in type()␤current instr.: 
'_block11' pc 138 (EVAL_13:56)␤

This is not...

-- 
Bacek.

Reply via email to