Function pointers/delegates default args were stealth removed?

Jacob Carlborg doob at me.com
Tue Aug 28 01:11:11 PDT 2012


On 2012-08-27 23:28, Jonathan M Davis wrote:

> Except that the change which is causing Manu problems _isn't_ a new feature.
> It's a bug fix. So, better versioning wouldn't necessarily have helped him any
> at all. At best, if we had a more complex versioning scheme, it could be
> decided that the bug fix was potentially disruptive enough that it should only
> be fixed in a more major release, but _every_ bug fix risks breaking code,
> especially when code could be relying on the buggy behavior.

The fix for this particular bug was to remove a language feature. I 
don't think it would be wise to put that change in a minor release. It 
doesn't matter why the feature was removed. If a feature is remove from 
the language it should only be put in a major release, period.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list