[Issue 17724] New: digest is not a template declaration, it is a module
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 5 17:16:40 PDT 2017
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 at puremagic.com
Reporter: dlang-bugzilla at 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
--
More information about the Digitalmars-d-bugs
mailing list