#773: Can't override vtables of a PMC from PIR
---------------------+------------------------------------------------------
 Reporter:  coke     |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  blocker  |   Milestone:       
Component:  none     |     Version:  1.2.0
 Severity:  medium   |    Keywords:       
     Lang:  tcl      |       Patch:       
 Platform:           |  
---------------------+------------------------------------------------------
 This seems like it should print "ok 1", but prints "not ok 1" instead:

 {{{
 .HLL 'parrot'
 .namespace ['String']

 .sub get_string :vtable
   .return('')
 .end

 .namespace []

 .sub foo :main
   $P1 = new 'String'
   $P1 = 'not '
   $S0 = $P1
   print $S0
   say "ok 1"
 .end
 }}}

 Should this be supported? (is there a more verbose syntax?)

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/773>
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