I'd like to make an NYTProf release soon but cpan testers is showing some failures I can't explain:
http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=Devel-NYTProf%202.07_94 -sub_subinfo main::__ANON__[(eval 0)[(eval 0)[test22-strevala.p:12]:2]:1] [ 6 1 1 2 0 0 0 0 ] +sub_subinfo main::__ANON__[(eval 0)[(eval 0)[test22-strevala.p:12]:2]:1] [ 7 1 1 2 0 0 0 0 ] That "[ 7 ..." is the fid the sub was defined in. It should be "[ 6 ...". Can anyone here reproduce the failures? Background: NYTProf now does s/\(eval \d\)/(eval 0)/g on file and subroutine names as they're being read from the profile data file. So it's possible for two or more subs to end up with the same name (if they are anon subs defined on the same line of a string eval). The case NYTP_TAG_SUB_LINE_RANGE: code in load_profile_data_from_stream() detects the duplicate and only stores the new details if the fid is lower than the current fid associated with the sub. So 6 should be stored instead of 7. Any thoughts? Tim. --~--~---------~--~----~------------~-------~--~----~ You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected] -~----------~----~----~----~------~----~------~--~---
