Ilya Zakharevich on Mon, 28 Aug 2023 07:48:52 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: bug in simplify_shallow


On Sun, Aug 27, 2023 at 10:39:16PM -0700, Ilya Zakharevich wrote:
> IIRC, in Perl the lexical are not removed, but instead
>          are MARKED for removal.
> 
> In the beginning of each “statement”, what was marked for removal
> before this is actually removed.

Oups, this “before” is wrong:

  What is marked for removal IN THE SAME OR DEEPER SCOPES is actually
  removed.  (Of course, one also needs extra “postponed” removals on
  exit.)

Sorry,
Ilya