[Solved] Confusing error message

bachmeier via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 7 18:44:29 PDT 2017


On Wednesday, 7 June 2017 at 21:13:37 UTC, H. S. Teoh wrote:
> On Wed, Jun 07, 2017 at 11:16:14PM +0300, drug via 
> Digitalmars-d-learn wrote:
>> 07.06.2017 22:40, bachmeier пишет:
> [...]
>> > In any event, I made a second suggestion that would always 
>> > work. If it can't find a match, it asks if you're missing an 
>> > import statement, as a way to provide the new D programmer a 
>> > hint of what to look for.
>> That's a good point.
>
> Does that mean that every time you make a typo or pass wrong 
> arguments to a template function, the compiler will ask if 
> you're missing an import?
>
>
> T

Is there a reason to not do that? The lengthy error messages 
don't mean much to new D programmers now. Adding a few additional 
words to help them shouldn't be a problem.


More information about the Digitalmars-d-learn mailing list