Skip to content

Commit

Permalink
Test quote lang cache does not break our ops
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Oct 28, 2017
1 parent f9fb8c9 commit 730b5c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S13-overloading/operators.t
@@ -1,7 +1,9 @@
use v6;
use lib <t/spec/packages/>;
use Test;
use Test::Util;

plan 6;
plan 7;

#L<S06/Operator overloading>

Expand Down Expand Up @@ -50,4 +52,9 @@ plan 6;
is B.new(x => 'a').('b'), 'ab', 'can overload invoke';
}

# RT #132262
is_run $ = ""; sub postfix:<♥> ($) { "pass" }; print "{ 5♥ }",
{:out<pass>, :err(''), :0status},
'quote lang cache does not interfere with newly defined ops';

# vim: ft=perl6

0 comments on commit 730b5c8

Please sign in to comment.