[Issue 4241] duplicate union initialization error doesn't give a file location

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 30 12:41:23 PDT 2010


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


Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com


--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> 2010-09-30 12:41:05 PDT ---
Reduced test case:

import std.typetuple;

struct bar( int n, T ) {
    static immutable bar b = bar( 0 );

    Tuple!( int ) fields;

    this( int arg ) {
       fields.field[0] = arg;
    }
}

alias bar!( 3, int ) b;

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