digitalmars.D.bugs - [Issue 10313] New: inout constructor + IFTI + has indirections arg doesn't work
- d-bugmail puremagic.com (34/34) Jun 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10313
- d-bugmail puremagic.com (10/10) Oct 16 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10313
http://d.puremagic.com/issues/show_bug.cgi?id=10313 Summary: inout constructor + IFTI + has indirections arg doesn't work Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com This code should work, but doesn't. Test case: struct JSONValue { JSONValue[] array; } struct Nullable(T) { this()(inout T value) inout {} //this(U:T)(inout U value) inout {} // workaround } void main() { JSONValue value = void; auto na = Nullable!JSONValue(value); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10313 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/2675 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 16 2013