#137: new $P0, ['Integer'] doesn't work in pir
--------------------+-------------------------------------------------------
 Reporter:  cotto   |       Owner:       
     Type:  bug     |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  imcc    |     Version:  trunk
 Severity:  medium  |    Keywords:       
     Lang:          |       Patch:       
 Platform:  all     |  
--------------------+-------------------------------------------------------
 The following code doesn't work in pir, even though all 4 lines should do
 the same thing.

 {{{
 .sub main
   new $P0, ['Integer']  #syntax error
   new $P0, 'Integer'    #works fine
   $P0 = new ['Integer'] #works fine
   $P0 = new 'Integer'   #works fine
 .end
 }}}

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