#1421: [RFC] zero length FxA behaviour
----------------------+-----------------------------------------------------
 Reporter:  plobsing  |       Owner:  plobsing
     Type:  RFC       |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  none      |     Version:  2.0.0   
 Severity:  medium    |    Keywords:          
     Lang:            |       Patch:          
 Platform:            |  
----------------------+-----------------------------------------------------

Comment(by kurahaupo):

 The point about this isn't that size is set separately, it's that zero
 should be treated as a valid length, and not as a sentinel for "not set
 yet".

 As it stands, setting the length of an FxA to zero has insufficent effect,
 whether you do it by passing the length to the constructor, or by setting
 it afterwards.

 We shouldn't just do nothing; if zero-length is deemed invalid, then
 setting it should throw an exception rather than silently ignore the
 change.

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