[Issue 11946] need 'this' to access member when passing field to template parameter

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 25 13:01:47 PDT 2014


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

--- Comment #52 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Well, do you really think that saving a few seconds is worth the potential
confusion?

Let's look at the title now:

> need 'this' to access member when passing field to template parameter

(Consider that the reader is not familiar with this error message.)

Who is the entity needing "this", the compiler or the programmer?

Where does the error message end? Is it just "need 'this'"? "need 'this' to
access member"? Or is the entire line coming from the compiler? What should I
give to "grep" when searching the DMD source code?

Besides, how many times are you going to type that command line? What takes
longer, editing the issue title, or editing the commit message on the command
line (or a text editor, as Jacob suggested)?

--


More information about the Digitalmars-d-bugs mailing list