develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH] Add a nextstate into empty blocks

Thread Previous | Thread Next
From:
Arthur Bergman
Date:
August 22, 2001 04:14
Subject:
Re: [PATCH] Add a nextstate into empty blocks
Message ID:
B7A9608A.33DC%arthur@contiller.se
01-08-19 18.27, skrev Ilmari Karonen på iltzu@sci.fi följande:

> As for the op/sub_lval test, it expects
> 
> sub lv0 : lvalue { }
> lv0 = (2,3);
> 
> to die with "Can't return a readonly value from lvalue subroutine".  It
> now dies with "Empty array returned from lvalue subroutine in scalar
> context".  I looked into the code that generates this (pp_leavesublv)
> but it's getting a bit over my head.

Do we ever return an array? Shouldn't it be Empty list returned?

Any other comments on this?

Abigail has JAPHs using it, anyone else uses this bug?

-- 
Arthur


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