Skip to content

Commit

Permalink
[v6.d REVIEW] Throw out is equiv test
Browse files Browse the repository at this point in the history
Don't want to spec this behaviour until RT#131099 [^1] and
behaviour in related tickets[^2] are entirely resolved/specced

[1] https://rt.perl.org/Public/Bug/Display.html?id=131099
[2] RT#132713, RT#132710, RT#132711, maybe more
    https://rt.perl.org/Public/Bug/Display.html?id=132713
    https://rt.perl.org/Public/Bug/Display.html?id=132710
    https://rt.perl.org/Public/Bug/Display.html?id=132711
  • Loading branch information
zoffixznet committed Sep 12, 2018
1 parent 3034964 commit b9c2a95
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions S06-traits/precedence.t
Expand Up @@ -10,7 +10,7 @@ Tests for precedence of self defined operators

# L<S06/Subroutine traits/"relative to an existing">

plan 16;
plan 15;

do {
sub prefix:<!> (Int $x) is tighter(&infix:<**>) {
Expand Down Expand Up @@ -112,11 +112,4 @@ do {
dies-ok( { EVAL '4 !' }, "Whitespace not allowed before user-defined postfix");
}

# RT#131099
lives-ok {
sub postfix:<> ($) is equiv(&[orelse]) {};
42♥;
&postfix:<>.prec<assoc> and die "Must not have assoc set!";
}, '`is equiv` does not copy .prec<assoc>';

# vim: ft=perl6

0 comments on commit b9c2a95

Please sign in to comment.