2.068 Regression in EnumMembers?

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 16 04:25:46 PDT 2015


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.


More information about the Digitalmars-d-learn mailing list