On Tue Apr 20 04:50:38 2010, masak wrote:
> <jnthn> masak: Your ticket is wrong.
> <jnthn> 74520
> <moritz_> a bug in a rakudobug!
> * masak looks
> <jnthn> The bug is not that it didn't find the sub
> <jnthn> It shoudln't
> <jnthn> The bug is it gave an internals error rather than a good one.
> <jnthn> I guess more succinct is:
> <jnthn> rakudo: A::foo # right error
> <p6eval> rakudo 027ff4: OUTPUT«Can not find sub A::foo␤ [...]
> <jnthn> rakudo: A::foo(42) # I think this is what is broken
> <p6eval> rakudo 027ff4: OUTPUT«too many positional arguments: 2
> passed, 1 expected [...]
> <masak> ok, I'll add that to the ticket.
> <jnthn> Yeah, that's the thing I was saying to submit
> <jnthn> We're right to fail, just wrong the fail in that way

Fixed up now:

> A::foo
Can not find sub A::foo
> A::foo(42)
Can not find sub A::foo
> A::foo(42, :mmmmpivo)
Can not find sub A::foo

Given to moritz++ for spectest coverage.

Thanks,

Jonathan

Reply via email to