Hi,

On Sat, Sep 22, 2012 at 2:14 AM, Paul Johnson <p...@pjcj.net> wrote:
> I investigated github ticket 15: issue with Moo attribute which is Moo object.
>
> This turned out to be another of those longstanding bugs that I knew a bit
> about but had never been able to find the time to put in sufficient effort to
> crack.  Thanks to the grant I was able to crack it.
>
> The problem was with condition coverage, and in particular when the first
> operand of a LOGOP called (directly or indirectly) a subroutine in a file for
> which coverage was not being collected.  This meant that at the time
> Devel::Cover decided whether or not to collect coverage data for the LOGOP the
> last COP seen was indicating that coverage shouldn't be collected.  The
> solution was to check PL_curcop at appropriate times.

This alone made my week. :)

Thanks!
-- 
Pedro Melo
@pedromelo
http://www.simplicidade.org/
http://about.me/melo
xmpp:m...@simplicidade.org
mailto:m...@simplicidade.org

Reply via email to