[perl #78142] [BUG] Statement level bare blocks for if statements

2012-01-11 Thread Will Coleda via RT
On Wed Sep 29 21:14:01 2010, ash_gti wrote: > The S04 section on Statement Level Bare Blocks says: > > # Not an error: Equivalent to "if foo() -> $x { say $x }" > { say $^x } if foo(); > > > $ perl6 > > > { say $^x } if 1; > _block141 > > > if 1 -> $x { say $x } > 1 This now gives no outp

[perl #78142] [BUG] Statement level bare blocks for if statements

2010-09-30 Thread ash
# New Ticket Created by John (ash) # Please include the string: [perl #78142] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=78142 > The S04 section on Statement Level Bare Blocks says: # Not an error: Equivalent to "if fo