« Bugzilla Issues Index

#1110 — Return |this| from collection mutator methods

Per Nov 29 Resolution:

Update the following APIs to return |this|:


It also makes sense to include delete methods as well, for the same reasons as the set/add methods.

Forgot the rationale...

Consensus… with the criteria that these methods are not simply a set of uncoordinated side effects tat happen to have a receiver in common, but a set of coordinated side effects on a specific receiver and providing access to the target object post-mutation.

fixed in rev 14 editor's draft

in Rev 14 draft