[Issue 11844] New: ICE(template.c:6643) Assertion failed: (td->semanticRun != PASSinit)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 30 00:21:00 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11844
Summary: ICE(template.c:6643) Assertion failed:
(td->semanticRun != PASSinit)
Product: D
Version: D2
Platform: x86_64
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: redballoon36 at gmail.com
--- Comment #0 from Paul O'Neil <redballoon36 at gmail.com> 2013-12-30 00:20:57 PST ---
The error does not occur in 2.063.2, but does in 2.064 and git master
(7cb48f8558809e69b60ee6dfc56ea6af73ee405f).
Tested on both Linux and OSX, but both were 64-bit.
The following code causes the assertion failure:
public auto make_encode(T, string name)()
{
return mixin("function(T self) { return self.encodeField!\""~ name ~ "\"();
}");
}
class FileData
{
ulong _member;
@make_encode!(FileData, "member")()
ulong member() const {
return _member;
}
ubyte[] encodeField(string key)()
{
}
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list