On Wed Jan 12 09:29:31 2011, masak wrote:
> <masak> rakudo: $_ = 'foo'; s:g/ /a/; say 'alive'
> <p6eval> rakudo 8681da: OUTPUT«alive␤»
> <masak> std: $_ = 'foo'; s:g/ /a/
> <p6eval> std 625303c: OUTPUT«===SORRY!===␤Null
> pattern not allowed  [...] FAILED 00:01 122m␤»
> * masak submits rakudobug

This now dies correctly:

19:46 < [Coke]> m: $_ = 'foo'; s:g/ /a/; say 'alive'
19:46 <+camelia> rakudo-moar 974d00: OUTPUT«===SORRY!=== Error while compiling
                 /tmp/LZQwMHpP5h␤Null regex not allowed␤at
                 /tmp/LZQwMHpP5h:1␤------> $_ = 'foo'; s:g/ ⏏/a/; say 'alive'␤
                 expecting any of:␤        colon pair (restricted)␤»

Closable with tests.
-- 
Will "Coke" Coleda

Reply via email to