# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #76534]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76534 >


in pugs/t/spec/packages/Exportops.pm there's a

sub infix:<notthere>($a, $b) { $a + $b }

(neither multi nor 'is export')

13:24 <@moritz_> rakudo: BEGIN { @*INC.push: 
'/home/p6eval/pugs/t/spec/packages' }; use Exportops; say  3 notthere 5 
# not exported, should fail
13:24 <+p6eval> rakudo d0df85: OUTPUT«Could not find sub 
&infix:<notthere>␤  in main program body at line 20:/tmp/g_Wzw_v3da␤»
13:25 <@moritz_> that's the wrong error message

Should fail with 'Two terms in a row'.

13:26 <@jnthn> moritz_: Grammar tweaks aren't done as mix-ins just yet.
13:26 <@jnthn> moritz_: So they'll be a bit leaky still.
13:26 <@moritz_> jnthn: wfm, I'll just write a ticket :-)
13:26 <@jnthn> moritz_: Primarily the fix I did solves things like, any
                operators we wrote in the core setting would get lost
13:27 <@jnthn> Or at least, our ability to parse them would.

Reply via email to