id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
71,Fix class registry to allow HLL classes of identical names,pmichaud,chromatic,"(See also RT #43419 for other examples)

Creating a HLL class with a name of 'Object' results in
""Class Object already registered!"".

{{{
$ cat y.pir
.HLL ""perl6"", """"

.namespace

.sub main :main
# works
$P0 = new 'Class'
$P0.'name'('AnObject')
$S0 = $P0
say $S0

# fails
$P0 = new 'Class'
$P0.'name'('Object')
$S0 = $P0
say $S0
.end

$ ./parrot y.pir
perl6;AnObject
Class Object already registered!
current instr.: 'main' pc -1 ((unknown file):-1)
called from Sub 'main' pc 36 (y.pir:12)
$
}}}",bug,closed,major,0.9.1,core,,medium,fixed,,,,,all
