#203: assign_pmc broken for pir subclasses?
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:     
     Type:  bug     |      Status:  new
 Priority:  normal  |   Milestone:     
Component:  none    |     Version:     
 Severity:  medium  |    Keywords:     
     Lang:          |       Patch:     
 Platform:          |  
--------------------+-------------------------------------------------------
 {{{
 .sub main

  $P1 = new 'Hash'
  .local pmc undef
  undef = new 'Undef'
  assign $P1, undef
  $S0 = typeof $P1
  say $S0

  $P1 = get_class 'Hash'
  $P2 = subclass $P1, 'myHash'

  $P1 = new 'myHash'
  .local pmc undef
  undef = new 'Undef'
  assign $P1, undef
  $S0 = typeof $P1
  say $S0

 .end
 }}}

 this prints:

 {{{
 Undef
 myHash
 }}}

 but I expect it to print

 {{{
 Undef
 Undef
 }}}

 - this is blocking partcl.

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