On Tue Aug 25 14:22:47 2009, masak wrote:
> This be Rakudo 9d9d416 on Parrot r40783.
> 
> $ cat > a
> my $i;
> die '' if /^ \#/;
> ++$i;
> 1;
> $ perl6 a
> Statement not terminated properly at line 4, near "1;\n"
> in Main (src/gen_setting.pm:3460)
> 
> $ cat > b
> my $i;
> die '' if /\#/;
> ++$i;
> $ perl6 b
> perl6regex parse error: Quantifier follows nothing in regex at offset
> 24, found '+'
> in Main (src/gen_setting.pm:3460)
> 
> <moritz_> \# is forbbiden, but the error message is LTA
> <masak> waitwait, \# is forbidden? why?
> <jnthn> .oO( LTA is a re-ordering of TLA )
> <masak> LTA is also an excellent TLA.
> <moritz_> because... forgot the reason. It's in the commit message
> that modififed S05 accordingly
> <moritz_> some parsing ambiguty
> <moritz_> you have to write '#' now
> <moritz_> or maybe it was a commit against STD.pm
> <masak> S05:603: An unescaped C<#> now always introduces a comment.
> <masak> that's all I've found so far.
> <moritz_> $ cat foo.pl
> <moritz_> / \# /
> <moritz_> $ ./tryfile foo.pl
> <masak> :)
> <moritz_> ===SORRY!===
> <moritz_> No unspace allowed in regex (for literal please quote with
> single quotes) at foo.pl line 1:
> <moritz_> ------> / \⏏# /
> <masak> is that an STD.pm LTA error message?
> <masak> I wasn't doing an unspace, I was backwhacking my '#'!
> <diakopter> maybe some double-escaping is occuring
> <masak> anyway,
> * masak submits rakudobug

These now both die the same way:

Method 'match' not found for invocant of class 'Any'
  in method Bool at src/gen/CORE.setting:7685
  in block <anon> at b:2
  in <anon> at b:1

I assume this is still LTA?
-- 
Will "Coke" Coleda

Reply via email to