So I looked at this, and at very best the proposed error message is wrong. It
says that ? is useless when used with %%, but that's not the case:
m: say ‘af’|‘a’|‘f’|‘’ ~~ /a? %% f/
rakudo-moar 00af9ce27: OUTPUT: «「af」「a」「f」「」»
m: say ‘af’|‘a’|‘f’|‘’ ~~ /a?f?/
rakudo-moar 00af9ce27: OUTPUT:
On Wed, 15 Jul 2015 07:31:55 -0700, lue wrote:
> m: say "ab" ~~ /^ a +% (b) $/
> rakudo-moar e4077e: OUTPUT«Nil»
> m: say "ab" ~~ /^ a *% (b) $/
> rakudo-moar e4077e: OUTPUT«Nil»
> m: say "ab" ~~ /^ a ?% (b) $/
> rakudo-moar e4077e: OUTPUT«===SORRY!===QAST::Block with
> cuid cuid_1_1436969
On Wed, 15 Jul 2015 07:31:55 -0700, lue wrote:
> m: say "ab" ~~ /^ a +% (b) $/
> rakudo-moar e4077e: OUTPUT«Nil»
> m: say "ab" ~~ /^ a *% (b) $/
> rakudo-moar e4077e: OUTPUT«Nil»
> m: say "ab" ~~ /^ a ?% (b) $/
> rakudo-moar e4077e: OUTPUT«===SORRY!===QAST::Block with
> cuid cuid_1_1436969
On Tue, 09 Aug 2016 15:25:11 -0700, alex.jakime...@gmail.com wrote:
> Let's look at the code in Rakudo! From src/core/Whatever.pm
>
> my class HyperWhatever {
> multi method new(HyperWhatever:) { X::Cannot::New.new(class =>
> self).throw }
> …
> }
>
> So it seems like it should throw a warning if
On Tue, 09 Aug 2016 15:25:11 -0700, alex.jakime...@gmail.com wrote:
> Let's look at the code in Rakudo! From src/core/Whatever.pm
>
> my class HyperWhatever {
> multi method new(HyperWhatever:) { X::Cannot::New.new(class =>
> self).throw }
> …
> }
>
> So it seems like it should throw a warning if