I tried rebuilding my knowledge graph project at

https://github.com/nordlow/justd/tree/master/knet

with DMD 2.068 and it seems like we have a regression in std.traits: EnumMembers:

/usr/include/dmd/phobos/std/traits.d(3432,21): Error: template instance std.traits.EnumMembers!(Lang).WithIdentifier!"fortran" recursive expansion
scons: *** [knet/traversal.o] Error 1
/usr/include/dmd/phobos/std/traits.d(3432,21): Error: template instance std.traits.EnumMembers!(Lang).WithIdentifier!"firstAcademic" recursive expansion
scons: *** [knet/base.o] Error 1
/usr/include/dmd/phobos/std/traits.d(3432,21): Error: template instance std.traits.EnumMembers!(const(Lang)).WithIdentifier!"physics" recursive expansion
scons: *** [knet/io.o] Error 1
/usr/include/dmd/phobos/std/traits.d(3432,21): Error: template instance std.traits.EnumMembers!(Lang).WithIdentifier!"modelica" recursive expansion
scons: *** [knet/tests.o] Error 1

Sadly the diagnositcs give no help whatsoever on what's wrong. What happened to the instantiation stack trace here?

Try cloning https://github.com/nordlow/justd/tree

and building for instance

    scons knet/base.o

provided that SCons has been installed (on Ubuntu as `sudo apt-get install scons`)

It builds without errors nor warnings on 2.067.

Help, please.

Reply via email to