[Issue 10084] New: ICE: toir.c 183
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 14 12:36:32 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10084
Summary: ICE: toir.c 183
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: oivind.loe at gmail.com
--- Comment #0 from Øivind <oivind.loe at gmail.com> 2013-05-14 12:36:30 PDT ---
The following code gives ICE: "Internal error: toir.c 183".
----------------------------------
void staticIterStructMembers(Type, alias Func)() {
void IterStructMemberCall(Member )() {
Func!Member;
}
IterStructMemberCall!Type;
}
template annotStruct() {
void save() {
void saveImpl(Member )() {
}
staticIterStructMembers!(typeof(this), saveImpl);
}
}
struct MsgBossCreateProc {
mixin annotStruct;
}
------------------------------------------------
This fails on master, e.g. what is about to be release 2.063:
commit 61bcb35cc9a0dd6377b5c17e07a1ea6cb7fb2f12
Merge: 4ed3396 1de9770
Author: Daniel Murphy <yebblies at gmail.com>
Date: Tue May 14 01:07:59 2013 -0700
--
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