[Issue 6530] New: Internal error: backend\symbol.c 1032
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 18 18:22:41 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6530
Summary: Internal error: backend\symbol.c 1032
Product: D
Version: unspecified
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: ice-on-valid-code
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-08-18 18:22:39 PDT ---
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);
}
--
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