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


r30750:
$ ./perl6 -e '1 ?? 2 : 3'
ResizablePMCArray: Can't pop from an empty array!
[...]

Yes, it should be ?? !!, so the program above shouldn't compile. On
the other hand, it shouldn't throw an exception either.

<pmichaud> It's okay to report the ?? :   bug, although it's really a
PGE bug and might not be fixed
<masak> pmichaud: ok
<pmichaud> (i.e., it'll get subsumed by the other PGE changes)
<masak> I can see how it's now high prio, but it might be nice to have
a ticket for it
<pmichaud> sure.
<pmichaud> Currently ?? !! is being handled by PGE's ternary: class,
but STD.pm has it as an infix operator
<pmichaud> which works fine, but I just haven't gotten around to
switch rakudo's grammar for that yet.  Maybe a ticket will prompt
someone else to do it :-)

Reply via email to