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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 3 08:26:29 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11946



--- Comment #35 from Kenji Hara <k.hara.pg at gmail.com> 2014-03-03 08:26:28 PST ---
(In reply to comment #34)
> (In reply to comment #33)
> > because it will make the mangling names of the function local symbols unstable. 
> 
> Could you please explain this further? Isn't name mangling only done once all
> semantics are resolved, so it will happen once the compiler knows if the
> template needs the context or not?

Read the section "Do not mangle context-ness of parent lambdas" in
http://wiki.dlang.org/Brush_Up_Language_Features

-- 
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