Skip to content

Commit 3583fd3

Browse files
committed
Fudge tests for JVM, wrong multi candidate called
1 parent 6fb9b12 commit 3583fd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

S06-multi/proto.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ multi bar(| (A $x)) { 2 } #OK not used
4545
multi bar(| (B $x)) { 3 } #OK not used
4646
multi bar(| where { $_[0] == 42 }) { 1 } #OK not used
4747
is(bar(A.new), 2, 'dispatch on class worked (anon cap)');
48+
#?rakudo.jvm 3 todo 'wrong multi candidate called'
4849
is(bar(B.new), 3, 'dispatch on class worked (anon cap)');
4950
is(bar(42), 1, 'dispatch with no possible candidates fell back to proto (anon cap)');
5051
throws-like 'bar(41)', Exception, 'impossible dispatch failed (anon cap)';

0 commit comments

Comments
 (0)