Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix unexpected undying
  • Loading branch information
lizmat committed May 15, 2014
1 parent ab5d8ac commit d2a8eae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S02-types/set.t
Expand Up @@ -228,13 +228,16 @@ sub showset($s) { $s.keys.sort.join(' ') }
is showset(set(<b e g k z>)».pred), 'a d f j y', 'Set».pred';

dies_ok { set(1, 2) »+« set(3, 4) }, 'Set »+« Set is illegal';
dies_ok { set(1, 2) «+» set(3, 4) }, 'Set «+» Set is illegal';
dies_ok { set(1, 2) »+« [3, 4] }, 'Set »+« Array is illegal';
dies_ok { set(1, 2) «+» [3, 4] }, 'Set «+» Array is illegal';
dies_ok { [1, 2] »+« set(3, 4) }, 'Set »+« Array is illegal';
dies_ok { [1, 2] «+» set(3, 4) }, 'Set «+» Array is illegal';
}

#?niecza skip "Hypers not yet Set compatible"
#?rakudo skip "seems to be fall out of S02 BagHash change"
dies_ok { set(1, 2) «+» set(3, 4) }, 'Set «+» Set is illegal';

# L<S32::Containers/Set/roll>

{
Expand Down

0 comments on commit d2a8eae

Please sign in to comment.