dmd: why not use fully qualified names for types in error messages?
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 13 23:33:26 PDT 2017
On 2017-06-14 06:50, Timothee Cour via Digitalmars-d wrote:
> eg:
> Error: no property 'IF_gray' for type 'ImageFormat'
> =>
> Error: no property 'IF_gray' for type 'foo.bar.ImageFormat'
>
> and also, why not show where the symbol is defined?
>
> would PR's for that be accepted? is that hard to implement?
Technically, for templates, the fully qualified name include all the
template arguments. In many (some) cases this will be way too long to
print.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list