[Issue 6427] Templated ctor cannot set immutable member variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 2 12:45:17 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6427



--- Comment #2 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-08-02 12:45:15 PDT ---
Okay. It looks like immutable constructors only apply to when the struct or
class itself that you're constructing is immutable. So, this should definitely
compile. And it does on the current version of the compiler. So, if it doesn't
compile on 2.054, then this it was fixed since the release. I'd close it, but
we might want it end the changelog, so it's probably better that someone who
actually works on the compiler closes the bug. Regardless, it works with the
latest version of the compiler, so 2.055 shouldn't have this bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list