Skip to content

Commit

Permalink
Remove faulty (and skipped) test for RT #76734
Browse files Browse the repository at this point in the history
The test was added back in 2011 but was skipped all the time.
There is a test in S32-exceptions/misc.t to make sure that
overloading infix:<=> fails with X::Syntax::Extension::SpecialForm.
  • Loading branch information
usev6 committed Apr 16, 2016
1 parent 28274ef commit 511b3d1
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions S03-operators/assign.t
Expand Up @@ -873,19 +873,6 @@ sub l () { 1, 2 };
is $rt125407, @rt125407[0], '$rt125407 and @rt125407[0] should be equal';
}

# RT #76734
#?rakudo skip 'RT #76734'
#?niecza skip "Overloading infix:<=> fails"
{
class A {};
my $x = ['a'];
multi infix:<=> (A $a, Str $value) { $x.push: $value; } #OK not used
(A.new() = 'b');
is $x.join(','), 'a,b', 'New multi infix:<=> works';
$x = 'c';
is $x, 'c', '...without screwing up ordinary assignment';
}

# RT #77142
{
my $cc = 0;
Expand Down

0 comments on commit 511b3d1

Please sign in to comment.