Bug 17724 – digest is not a template declaration, it is a module

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-08-06T00:16:40Z
Last change time
2018-01-05T13:31:04Z
Keywords
pull
Assigned to
No Owner
Creator
Vladimir Panteleev
See also
https://issues.dlang.org/show_bug.cgi?id=16191

Comments

Comment #0 by dlang-bugzilla — 2017-08-06T00:16:40Z
///////// 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
Comment #1 by schveiguy — 2017-08-06T21:30:12Z
Comment #2 by github-bugzilla — 2017-08-06T22:29:40Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a0a0842b901d8346cd6cc60f4deddf16126d361a Fix issue 17724 - to be deprecated module std.digest.digest conflicts with contained function digest for alias. https://github.com/dlang/phobos/commit/bdcbb419e99e50c94a4412b3572ff0ee60c858d1 Merge pull request #5674 from schveiguy/fix17724 Fix issue 17724 remove conflict between module and function `digest` merged-on-behalf-of: Sebastian Wilzbach <[email protected]>
Comment #3 by github-bugzilla — 2017-08-16T13:24:34Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a0a0842b901d8346cd6cc60f4deddf16126d361a Fix issue 17724 - to be deprecated module std.digest.digest conflicts with contained function digest for alias. https://github.com/dlang/phobos/commit/bdcbb419e99e50c94a4412b3572ff0ee60c858d1 Merge pull request #5674 from schveiguy/fix17724
Comment #4 by github-bugzilla — 2018-01-05T13:31:04Z
Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a0a0842b901d8346cd6cc60f4deddf16126d361a Fix issue 17724 - to be deprecated module std.digest.digest conflicts with contained function digest for alias. https://github.com/dlang/phobos/commit/bdcbb419e99e50c94a4412b3572ff0ee60c858d1 Merge pull request #5674 from schveiguy/fix17724