Bug 4846 – A problem with array of std.typecons.Tuple
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2010-09-09T12:53:00Z
Last change time
2010-10-29T17:08:23Z
Assigned to
andrei
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2010-09-09T12:53:54Z
import std.typecons: Tuple;
alias Tuple!(int) Foo;
auto data = [Foo(1)];
void main() {}
DMD 2.048 shows:
Error: duplicate union initialization for _0
Additionally, there is no line number for the error.
Comment #1 by bearophile_hugs — 2010-10-29T17:08:23Z