As a preliminary report: this error was triggered by my code both by the old compiler version I was using (built from git sometime in April 2014), and a freshly pulled 2.066-b3 compiler.
dmd: glue.c:1492: unsigned int totym(Type*): Assertion `0' failed.
My first attempt to build a reduced test case failed, but I will make another attempt shortly if I can get DustMite to work to flesh out the report a bit more, so consider this a placeholder for now.
Comment #1 by sfrijters — 2014-07-14T18:50:29Z
Created attachment 1369
Reduced test case
Okay, I've let Dustmite have a go at my code and I've done some manual cleanup, but this is about as far as I can go. Some strange things are happening:
* In dlbc/parameters.d: the createParameterMixins function is never called, but if I comment it out the error changes to: src/dlbc/elec/elec.d(8): Error: template instance elecConnOf!gconn template 'elecConnOf' is not defined
This template was in the original code but has been removed by dustmite.
* Similarly, if I try to touch the mixin in dlbc/io/checkpoint.d it complains about the template.
* The same if I try to reorganize the files any further (originally I wanted to put them all in a flat structure for the reduced test case).
I hope this is helpful somehow...