On Mon Jun 11 12:47:49 2012, jn...@jnthn.net wrote:
> On Thu Jun 07 22:49:12 2012, diakopter.gmail.com wrote:
> > 00:28 < diakopter> r: grammar A { token a { }; token a { } }
> > 00:28 <+p6eval> rakudo 6ab416: OUTPUT«===SORRY!===␤Method 'match' not
> > found for
> >                 invocant of class 'String'␤at /tmp/TaBvwFfZ6b:1␤»
> > 
> > expected: a real error.
> 
> Now it gives the usual duplicate method error, as it was meant to in the
> first place.
> 
> ===SORRY!===
> Package 'A' already has a method 'a' (did you mean to declare a
> multi-method?)
> 
> Thanks,
> 
> Jonathan

Error has changed slightly to complain about a Regex instead of a method.

Test added to S05-grammar/methods.t

-- 
Will "Coke" Coleda

Reply via email to