Phobos - breaking existing code
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Mon Dec 1 00:24:34 PST 2014
On 2014-12-01 00:03, Walter Bright wrote:
> Keeping around a deprecated alias translating the old symbol to the new
> one is a good approach. For a more detailed message, instead of the
> @disabled enhancement, a simpler way is:
>
> void fnmatch()(...) {
> static assert(0, "use globMatch instead of fnmatch");
> }
That doesn't work for virtual methods. Although I think they are quite
few in Phobos.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list