#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):

 As a work around, I suggest you use this mechanism that was recommended to
 me by NotFound++. This works properly for classes generated at runtime
 (Which .HLL_map does not do).

 {{{
 .HLL 'Foo'

 .sub main
   $P1 = get_class 'ResizablePMCArray'
   $P0 = subclass $P1, 'RPA'
   $P2 = getinterp
   $P2.'hll_map'($P1, $P0)
   joe('a','b','c')
 .end

 .sub joe
   .param pmc argv :slurpy
   $S0 = typeof argv
   say $S0
 .end
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/216#comment:4>
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