develooper Front page | perl.perl5.porters | Postings from January 2011

Re: Adding codegeneration step

Thread Previous | Thread Next
From:
Zsbán Ambrus
Date:
January 8, 2011 07:45
Subject:
Re: Adding codegeneration step
Message ID:
AANLkTikUuetYbTh+Sumt+D3N4XdWXWvUKBr2SZ61NEnr@mail.gmail.com
On Thu, Dec 30, 2010 at 11:09 PM, Gerard Goossen <gerard@ggoossen.net> wrote:
> * Delayed constant folding.
>
> Constants folding is now done at execution time instead of
> compiletime.  Fixes bugs where constant folding interfered with the
> semantic analysis, for example with a bareword in constant folded
> expressions being interpreted as filehandle.  Also it allows warnings
> about precedence involving constants.

Great!  So would this finally be the end of the strange feature where
`do { unless ("foo") { "bar" } }' returns undef, but `do { unless ($x
= "foo") { "bar" } }' returns "foo"?

(An other similar bug, #20444, was already fixed.)

Ambrus

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About