Qt::isa Deep recursion problem

View: New views
1 Messages — Rating Filter:   Alert me  

Qt::isa Deep recursion problem

by Eric Wilhelm-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chris,

What is this for?  I see you added it in r245.

  push @{ $caller . '::SUPER::ISA' }, $caller;

I just removed that in r403.

On perl 5.8.8, this causes recursion because it's somehow equivalent to
calling main::SUPER->new.

 perl -e 'use warnings; use strict;
   sub bar::new {warn "hi"}
   @main::SUPER::ISA = qw(main);
   package main; our @ISA = qw(bar);
   sub new {shift->SUPER::new(@_)};
   main->new'

--Eric
--
To a database person, every nail looks like a thumb.
--Jamie Zawinski
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
_______________________________________________
Kde-perl mailing list
Kde-perl@...
https://mail.kde.org/mailman/listinfo/kde-perl