Ticket #71 (closed bug: fixed)
Fix class registry to allow HLL classes of identical names
Reported by: | pmichaud | Owned by: | chromatic |
---|---|---|---|
Priority: | major | Milestone: | 0.9.1 |
Component: | core | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
(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) $
Attachments
Change History
Note: See
TracTickets for help on using
tickets.