# New Ticket Created by David Warring # Please include the string: [perl #118965] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118965 >
Rakudo is trying to import a symbol multiple times, and failing, when it belongs to overlapping groups. Consider 'center' in the following class definition: use v6; class Alignment { constant left is export(:horizontal) = 0.0; constant right is export(:horizontal) = 1.0; constant bottom is export(:vertical) = 0.0; constant top is export(:vertical) = 1.0; constant center is export(:horizontal, :vertical) = 0.5; } % perl6 -v This is perl6 version 2013.07-12-ga1e237b built on parrot 5.5.0 revision RELEASE_5_5_0 % perl6 -e'use Alignment :horizontal' % perl6 -e'use Alignment :horizontal, :vertical' ===SORRY!=== Cannot import symbol center from Alignment, because it already exists in this lexical scope at -e:1 ------> use Alignment :horizontal, :vertical⏏<EOL> expecting any of: pair value postfix
Rakudo is trying to import a symbol multiple times, and failing, when it belongs to overlapping groups.
Consider 'center' in the following class definition:
use v6;
class Alignment {
constant left is export(:horizontal) = 0.0;
constant right is export(:horizontal) = 1.0;
constant bottom is export(:vertical) = 0.0;
constant top is export(:vertical) = 1.0;
constant center is export(:horizontal, :vertical) = 0.5;
}
% perl6 -v
This is perl6 version 2013.07-12-ga1e237b built on parrot 5.5.0 revision RELEASE_5_5_0
% perl6 -e'use Alignment :horizontal'
% perl6 -e'use Alignment :horizontal, :vertical'
===SORRY!===
Cannot import symbol center from Alignment, because it already exists in this lexical scope
at -e:1
------> use Alignment :horizontal, :vertical⏏<EOL>
expecting any of:
pair value
postfix