[Issue 11946] "need 'this' to access member" when passing field to template parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 20 03:41:07 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11946
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2014-01-20 03:41:05 PST ---
(In reply to comment #2)
> It still seems like pointless breaking of code. If it really is intentional,
> then the diagnostic needs to be improved to tell the user how exactly to change
> their code.
>
> Also, there is still no sensible reason why "static" is required on a free
> function, regardless of whether it's in a template or not.
OK, I reopen issue 7805 as an enhancement request. And fixing it will also fix
this regression.
https://github.com/D-Programming-Language/dmd/pull/3126
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list