I got this error in my actual code before, but I now noticed that the line number is different:
dmd: traits.c:481: Expression* semanticTraits(TraitsExp*, Scope*): Assertion `protName' failed.
If needed I can run a Dustmite, but that would take a while. Please let me know if the previous information is enough to prepare a fix.
Comment #2 by sfrijters — 2014-11-28T22:18:27Z
Bug is still present in v2.067-b1, with slightly moved error line
dmd: traits.c:516: Expression* semanticTraits(TraitsExp*, Scope*): Assertion `protName' failed.