www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17724] New: digest is not a template declaration, it is a

https://issues.dlang.org/show_bug.cgi?id=17724

          Issue ID: 17724
           Summary: digest is not a template declaration, it is a module
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: dlang-bugzilla thecybershadow.net

///////// test.d ////////
import std.digest.digest;
import std.digest.md;

alias foo = digest!MD5;
/////////////////////////

test.d(4): Error: std.digest.digest at test.d(1) conflicts with
std.digest.digest(Hash, Range)(auto ref Range range) if (!isArray!Range &&
isDigestibleRange!Range) at .../phobos/std/digest/package.d(432)
test.d(4): Error: template instance digest!MD5 digest is not a template
declaration, it is a module

--
Aug 05