D2 is really that stable as it is claimed to be?

eles eles at eles.com
Sat Sep 21 12:38:50 PDT 2013


On Saturday, 21 September 2013 at 18:55:46 UTC, Walter Bright 
wrote:
> On 9/21/2013 11:03 AM, Maxim Fomin wrote:
>
> test.c:4: error: overflow in enumeration values

It would be difficult to make the front-end track also the column 
number where it encountered (estimated) the error?

This will make error messages a bit more clear (and in the line 
of thos in gcc), especially for long code lines (where you could 
have, for example, several instructions on the line).

At the beginning, until the feature is really implemented, the 
front-end could always provide "column=1", ie stick with current 
approach.

But this will help the gdc/ldc-implementations to be in line with 
the messages provided by gcc and clang.


More information about the Digitalmars-d mailing list