On Tue Jun 22 16:39:32 2010, cognominal wrote:
> use Test;
> use Test;
> 
> =begin pod
> 
> I would expect the second call to 'use Test' to be a noop.
> More strangely, I get the same redefinition error but  for
> _different_ functions on successive calls of the same program.
> 
> bash 3.2 $ perl6 double_use.pm6
> ===SORRY!===
> Multiple declarations of lexical '&skip'
> 
> bash-3.2$ perl6 double_use.pm6
> ===SORRY!===
> Multiple declarations of lexical '&isnt'
> 
> bash-3.2$ perl6 double_use.pm6
> ===SORRY!===
> Multiple declarations of lexical '&plan'
> 
> 
> =end pod
> 

Exciting new failure mode:

$ ./perl6 foo
Use of uninitialized value in string context
Use of uninitialized value in string context
===SORRY!===
error:imcc:Multiple declarations of lexical '&diag'

        in file '(file unknown)' line 119


-- 
Will "Coke" Coleda

Reply via email to