Closed moritz closed 7 years ago
That was fixed but latest bustage is in Grammar::Debugger:
c:\rakudo\dev\plexus>perl6 trydbg.pl
field
>
Cannot modify an immutable value
in block at lib/Grammar/Debugger.pm:77
in block at lib/Grammar/Debugger.pm:75
in method intervene at lib/Grammar/Debugger.pm:70
in block at lib/Grammar/Debugger.pm:45
in method parse at src\gen\CORE.setting:10397
in block at trydbg.pl:37
Fixed by #6.
I just tried this, and got the following:
$ perl6 -e 'use Grammar::Tracer; grammar A { rule TOP { "foo" } }; A.parse(" foo")'
TOP
* FAIL
So it's not blowing up, and it's supposed to fail because leading and trailing whitespace in a rule doesn't count for <.ws>
, does it? Right @meisl and @jnthn?
Exactly. It's long been fixed and can - as well as #8 - be closed... ;-)