#216: can't override the RPA HLL map from PIR?
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:  whiteknight
     Type:  bug     |      Status:  new        
 Priority:  normal  |   Milestone:             
Component:  imcc    |     Version:             
 Severity:  high    |    Keywords:  tcl blocker
     Lang:          |       Patch:             
 Platform:  all     |  
--------------------+-------------------------------------------------------

Comment(by whiteknight):

 Okay, I think I've found where the problem is. in
 compilers/imcc/imcc.y:953, the .HLL_map code calls pmc_type() using the
 name provided in the .HLL_map directive. Unfortunately, when the directive
 is called, the type hasn't yet been registered.

 IMCC calls pmc_type() which returns 0 as the type number of the HLL type.
 When we look up the type in the HLL registry later, this obviously fails
 and the type id number for ResizablePMCArray is returned instead.

 I'm not entirely sure how to get around this yet. I'll think about it.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/216#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to