On Tue Mar 23 00:09:02 2010, moritz wrote:
> Consider these files:
> 
> # JSON/Tiny.pm
> module JSON::Tiny;
> use JSON::Tiny::Grammar;
> 
> # JSON/Tiny/Grammar.pm
> class JSON::Tiny::Grammar { };
> 
> 
> $ perl6 JSON/Tiny.pm
> Can't handle scope declarator  on modules yet
> current instr.: 'perl6;Perl6;Compiler;Module;finish' pc 29044
> (src/gen/package_pm.pir:410)
> called from Sub 'perl6;Perl6;Actions;_block2939' pc 204314
> (src/gen/perl6-actions.pir:3847)
> 
> This also happens when loading a grammar instead of a class.
> 
> 
> I tried to put the use outside the module, and got:
> 
> "Illegal redeclaration of symbol 'JSON::Tiny'"
> 
> 
> Which is less-than-awesome, because it means I can't get JSON::Tiny
> working at all :(

Fixed in 0188099 and assigned to moritz++ for spectests.

Thanks,

Jonathan

Reply via email to