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: nob...@puremagic.com ReportedBy: redballoo...@gmail.com --- Comment #0 from Paul O'Neil <redballoo...@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: -------