| Store | Cart

[perl #130854] [PATCH] Class::Struct calls UNIVERSAL::isa as a function

From: James E Keenan via RT <perl...@perl.org>
Sun, 26 Feb 2017 13:09:57 -0800
On Fri, 24 Feb 2017 21:44:04 GMT, jkah...@mathworks.com wrote:
> This is a bug report for perl from jkah...@mathworks.com,> generated with the help of perlbug 1.40 running under perl 5.20.2.> > Class::Struct calls UNIVERSAL::isa as a function to check class> membership when> setting a data member that is defined as a class. Since it is called> as a> function, if the class has overriden the 'isa' method, it will not be> called.> > This is painful when attempting to unit test classes whose data> members have> been generated by Class::Struct.> 

Thanks for the patch.  However, I see that you've drawn it against perl-5.20.2, which is no longer supported.

Would it be possible to re-draw the patch against perl 5 blead, e.g., with git format-patch?

Since we're now in a pre-5.26.0-release code freeze, I'm going to mark this ticket to be reviewed for perl-5.27.1.

Thank you very much.

-- 
James E Keenan (jkee...@cpan.org)

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

Recent Messages in this Thread
jkahrman (via RT) Feb 24, 2017 09:44 pm
James E Keenan via RT Feb 26, 2017 09:09 pm
Tony Cook via RT Feb 27, 2017 12:32 am
James E Keenan via RT Jun 01, 2017 03:31 pm
Messages in this thread