Bug fix week

Jacob Carlborg doob at me.com
Tue May 25 05:52:04 PDT 2010


On 2010-05-24 16.17, Andrei Alexandrescu wrote:
> On 05/24/2010 09:08 AM, Don wrote:
>> Andrei Alexandrescu wrote:
>>> We've had a tremendous infusion of talent and energy in Phobos, and
>>> lately work has picked up in unprecedented ways, both in terms of new
>>> features and bug fixes. I can't say how happy I am about that!
>>>
>>> At the end of this starting week, on Friday May 28, TDPL will be out
>>> on trucks to bookstores.
>>>
>>> Let's make this week a bug fixing week for both dmd and Phobos, and
>>> issue a release on Monday. We're going public!
>>>
>>>
>>> Andrei
>>
>> IMHO, one of the most important bugs to fix is actually a spec bug:
>>
>> 4056 Template instantiation with bare parameter not documented
>>
>> The foo!int syntax as a shortcut for foo!(int) isn't documented anywhere
>> in the spec!! This is an embarrassing omission and should be fixed ASAP.
>> Anyone could submit a patch with suggested wording for this one.
>
> I agree that's bad, but somewhat ironically it's not as bad for TDPL's
> timeline. The syntax _is_ documented in TDPL.
>
> Andrei

I would say that's even worse, let me explain. In D if you run into a 
problem/bug with the compiler you never now where the problem is.

* Is it the spec that is correct and the compiler doesn't follow the spec?
* Is it the spec that is incorrect and the compiler behaves correctly?
* Perhaps the spec is correct and the compiler follows the spec but a 
feature is not implemented correctly?
* Perhaps the spec is correct but the compiler doesn't implement the 
feature yet.

Now when TDPL comes into the picture there is yet another layer to all 
this. Now you can have the behavior when TDPL is correct but the 
compiler and the spec is incorrect or any other combination of the now 
three parties.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list