On Thu Oct 18 02:13:15 2012, moritz wrote:
> The problem is that the $*ACTIONS contextual is set to a type object
> (used to be Any, now Mu), so $*ACTIONS.any existed, but caused an error.
> 
> commit 0973612366de17d6eab26e975663e63170e5d1d5 eased some of the pain
> by switching it from Any to Mu, but the underlying problem is still there.

00:11 <Mouq> r: grammar A { token TOP { <any> }; token any { 'foo' | 'bar' } }; 
say A.parse('foo')
00:11 <camelia> rakudo-parrot 79167a, rakudo-jvm 79167a, rakudo-moar 79167a: 
OUTPUT«「foo」␤ any => 「foo」␤␤»

Closeable with tests

Reply via email to