[Issue 5137] Compiler tips

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 9 04:54:02 PST 2015


https://issues.dlang.org/show_bug.cgi?id=5137

--- Comment #2 from bearophile_hugs at eml.cc ---
(In reply to Infiltrator from comment #1)
> I don't know whether it's necessary to add another class of compiler
> messages.  It might be enough to just make these warnings.  It would be
> helpful especially useful for @nogc.

Warnings are meant to warn you against something. Compiler tips are more like
suggestions (but it's not an essential difference, I agree. What's important is
to produce some message). The compilers of other good languages have such kind
of messages, so they can be good for D too.

--


More information about the Digitalmars-d-bugs mailing list