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: [email protected]
Reporter: [email protected]
///////// 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
--