{{{ module testmodule; string GetPublicMembers() { foreach(m; __traits(allMembers, testmodule)) { //... } return null; } mixin template RegisterModule() { mixin(GetPublicMembers()); } mixin RegisterModule; }}} Error: {{{ C:\Users\venix\projects\fusion\fail>c:\dmd2\windows\bin\dmd.exe issue328.d Assertion failure: 'members' on line 1052 in file 'dsymbol.c' abnormal program termination }}}
In 2.059head (c2824d43e470d), the code compiles without any assertions. What version do you use? (It seems to me that is an issue recently fixed.)
"DMD32 D Compiler v2.058" ...only one version difference. It would seem so. There's no binaries for 059 yet. How often do they usually get built?
(In reply to comment #2) > "DMD32 D Compiler v2.058" > ...only one version difference. It would seem so. I think this issue is much similar with bug 7160, but it was already fixed in 2.058 release. http://dlang.org/changelog.html#new2_058 Hmm....strange. > There's no binaries for 059 yet. How often do they usually get built? Oh, sorry. I am one of the dmd contributor, so I usually get build every day. Maybe, this issue is already fixed in 2.059, so please wait the release in a while.
Are there ETA's for releases? A release schedule perhaps?
This compiles and runs fine under 2.059 Win32
(In reply to comment #5) > This compiles and runs fine under 2.059 Win32 Yes, that conclusion was already made in the prev posts.