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


for only seems to want to execute when it is given a variable as an
argument:

for @array { say $_; }

pointy subs work okay

for @array -> $item { say $item; }

but "literal" lists do not

for (0,1,2) { say $_; }

that construct dies with:

    Null PMC access in get_bool()

I checked in an updated 01-sanity/07-for.t into the pugs repository,
so if t/fetchspec is run you would be setup to run and debug.

Colin

Reply via email to