Bug 6530 – Internal error: backend\symbol.c 1032

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-08-18T18:22:00Z
Last change time
2015-06-09T01:31:13Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2011-08-18T18:22:39Z
struct S { int a, b, c; } struct HasPostblit { this(this) {} // Bug goes away without this. } auto toRandomAccessTuple(T...)(T input, HasPostblit hasPostblit) { return S(1, 2, 3); } void doStuff(T...)(T args) { HasPostblit hasPostblit; // Bug goes away without the .tupleof. auto foo = toRandomAccessTuple(args, hasPostblit).tupleof; } void main() { doStuff(1, 2, 3); }
Comment #1 by yebblies — 2011-08-29T22:13:25Z
*** This issue has been marked as a duplicate of issue 4940 ***