Re: overlapping attributes not detected
[email protected] (Niall Young) Sun, 5 Oct 2014 14:39:43 +1100 (AEDT)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <alpine.OSX.2.00.1410051438550.49141@localhost> |
On Sat, 4 Oct 2014, Karen Etheridge wrote: > On Sat, Oct 04, 2014 at 08:02:05PM +0000, John Macdonald wrote: >> I'd rather see it as has '-XXX' to override, has '+XXX' to augment, and has 'XXX' to create a new attribute, with an error if an unsigned creation had a conflict. >> That provides the feature when it is desired without providing an action ata distance bug when it is unexpected. > > Perhaps, but it's far too late to make that change now without breaking > everyone's code :) You can't maintain 'XXX' to silently override as is the current behaviour, and introduce more prefixes to handle the new behaviours? -- Niall Young [email protected]