[Issue 11343] [2.064 beta] Error: multiple field initialization

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 24 14:02:06 PDT 2013


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



--- Comment #1 from rswhite4 at googlemail.com 2013-10-24 14:02:05 PDT ---
Consider also this:

----
import std.stdio;

struct Test {
public:
    const int[] test;

    this(int i) {
        this.test ~= i;
        this.test ~= i + 1;
    }
}

void main() {
    Test t = Test(42);
}
----

Same error

And maybe related:
http://forum.dlang.org/thread/bug-11346-3@http.d.puremagic.com%2Fissues%2F

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