Skip Menu |

This queue is for tickets about the Class-XSAccessor CPAN distribution.

Report information
The Basics
Id: 70673
Status: resolved
Priority: 0/
Queue: Class-XSAccessor

People
Owner: Nobody in particular
Requestors: chip [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.11
Fixed in: (no value)



Subject: Assertion failure when $_[0] is not a hash
If users make the mistake of having $self be the wrong type, an assertion failure is a really mean way to report it. But that's what CXSA does. Please test for $_[0] being an HV/AV as expected, and croak with appropriate errors if they aren't.
Oddly, I can't seem to reproduce this. Tested with 5.10.1 and -DDEBUGGING bleadperl. Can you retry with the specific tests I just pushed to the git repo at git://github.com/tsee/Class-XSAccessor.git as t/70bad_arguments.t? Maybe I'm just being daft. Blame it on my cold. Cheers, Steffen
Subject: Re: [rt.cpan.org #70673] Assertion failure when $_[0] is not a hash
Date: Fri, 02 Sep 2011 10:53:05 -0700
To: bug-Class-XSAccessor [...] rt.cpan.org
From: Chip Salzenberg <chip [...] pobox.com>
On 9/2/2011 4:15 AM, Steffen Mueller via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70673 > > > Oddly, I can't seem to reproduce this.
Could be I got the wrong module version. If so I'm quite sorry, I will verify the bug reproduction in our code base also. Thank you for making the .t.
Marking this issue as resolved since I haven't heard back from you. If you still find this an issue, reply to re-open the ticket. For other feedback, please use my email address instead to avoid re-opening. --Steffen