Re: traits.d: error: forward reference of variable parentPrefix

2016-09-01 Thread Noob via Digitalmars-d-learn
nvm. Renaming the MyDigestWrapper import caused the error.

traits.d: error: forward reference of variable parentPrefix

2016-09-01 Thread Noob via Digitalmars-d-learn
Hello all, I'm trying to use a std.digest, namely MD5 and sHA, as a template parameter like so: auto x = new MyDigestWrapper!MD5; The compiler (dmd2) then throws two error messages at me which puzzle me. phobos/std/traits.d 554: Error: forward reference of variable parentPrefix, and phob