June 09, 2013 [Issue 10313] New: inout constructor + IFTI + has indirections arg doesn't work | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-08 23:21:13 PDT --- 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: ------- |
October 17, 2013 [Issue 10313] inout constructor + IFTI + has indirections arg doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10313 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-16 20:48:56 PDT --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation