#1033: no args checking for a sub without params
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:       
     Type:  RFC     |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  none    |     Version:  trunk
 Severity:  medium  |    Keywords:       
     Lang:          |       Patch:       
 Platform:          |  
--------------------+-------------------------------------------------------

Comment(by wagle):

 PS.  I initially annotated the setter with :multi(P), which didn't accept
 anything I sent at it.  :multi(PMC) fixed that (as did :multi(_)), so my
 getter and setter work for 0 and 1 args, but not 2, etc.

 Could someone add some examples (besides :main) of why you would want
 0-arity sub's to be grab-all's?

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