The most confusing error message

Jonathan M Davis newsgroup.d at jmdavisprog.com
Thu Jan 25 01:35:14 UTC 2018


On Wednesday, January 24, 2018 16:21:39 Nick Treleaven via Digitalmars-d 
wrote:
> On Wednesday, 24 January 2018 at 14:22:59 UTC, Meta wrote:
> > One way we could probably improve the error message is to
> > change it to "template struct test.A(int var = 3) is used as a
> > type. It must be instantiated", or something along those lines,
> > to make it clear why you can't use A as a type.
>
> https://github.com/dlang/dmd/pull/7769

Even better than a bug report. :)

Thanks.

- Jonathan M Davis



More information about the Digitalmars-d mailing list