On Sat, Jan 22, 2011 at 3:07 PM, Rick Apichairuk
<rick.apichai...@gmail.com> wrote:
>
>> -----Original Message-----
>> From: Nick Perez [mailto:n...@nickandperla.net]
>> Sent: Saturday, January 22, 2011 2:47 AM
>> To: Rick Apichairuk
>> Cc: moose@perl.org
>> Subject: Re: Inheritance not working for some weird reason.
>>
>> Hey Rick,
>>
>> So I had at look at your code and cleaned it up some what and made it run
>> within a single file. In the future, please refrain from large examples.
> It really
>> helps people to see your problem better if you can make a very small, very
>> succinct test.
>>
>> From what I can see, this runs without problem. I did have to change the
>> 'BAD' tests at the bottom to account for the proper values.
>>
>
> I tried your version and it did work. However, this code was intended to be
> in separate packages and that is when the error occurs. Did you run my
> version (in separate class files) and did it work for you?

Have *you* actually run your version in separate class files?

What about the fact that you didn't provide a WorkUnit class but are
testing for it in the tests? Or the EmployeeFactory that you didn't
provide but that is being referred to in the Manager class? Or the
Types file you didn't include?

We're not volunteering our free time to sort through whatever you
throw at us and figure out which is a real bug and which isn't. That's
what (hopefully) *you* are being paid for. We're volunteering our free
time to support and fix bugs in Moose.

Mechanically separating the files won't actually work the way you
think it will because in addition to the problems I mentioned above,
you decided to put everything into separate namespaces so we've got to
recreate your directory structure too. Nick went through your code
once and cleaned it up to see if he could reproduce the bug. He could
not. The onus is now on you to clean up this drek into something we
can actually *run* that demonstrates the problem.

-Chris

Reply via email to