FAQ

On Thu May 26 18:52:05 2016, dcollinsn@gmail.com wrote:
A git bisect was performed and
reported the following, which appears to be when the assert was
initially added.

217f6fa330a187be32a68556507e3165b8747f55 is the first bad commit
commit 217f6fa330a187be32a68556507e3165b8747f55
Author: Father Chrysostomos <sprout@cpan.org>
Date: Fri Jul 19 08:51:47 2013 -0700

sv.c: Assert that sv_[ivp]v are not passed aggregates

The lack of assertions can hide bugs. See 32a609747bffb for instance
That assertion was added specifically to find bugs like this:

$ perl -we '(vec%0,0,1)=0'
Use of uninitialized value within %0 in vec at -e line 1.
Can't coerce HASH to string in aassign at -e line 1.

That output is nonsensical.

Thank you for finding one. :-)

--

Father Chrysostomos


---
via perlbug: queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=128260

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedMay 27, '16 at 1:52a
activeMay 28, '16 at 12:55a
posts4
users1
websiteperl.org

1 user in discussion

Father Chrysostomos via RT: 4 posts

People

Translate

site design / logo © 2017 Grokbase