Phobos - breaking existing code
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Nov 28 16:57:44 PST 2014
On 11/28/2014 4:19 PM, Daniel Murphy wrote:
> "Walter Bright" wrote in message news:m5b2dc$1f4j$1 at digitalmars.com...
>
>> On 11/28/2014 3:46 PM, Daniel Murphy wrote:
>> > Two years is too old, you skipped all the deprecation stages.
>>
>> My favorite unhelpful message:
>>
>> src/med/spawn.d(62): Error: undefined identifier sleep, did you mean
>> template slurp(Types...)(string filename, in char[] format)?
>>
>> Grepping around revealed that sleep() had migrated to core.sys.posix.unistd
>
> I don't know the history on that one, but why did you go straight to the latest
> compiler? Stepping through (some of) the last two years' releases would quite
> likely have been the same experience, but with better errors from the
> deprecation stages.
Can't tell users to do that. It's not reasonable.
More information about the Digitalmars-d
mailing list