# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #73760]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73760 >


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 :(

Reply via email to