Bug 13380 – Conflict with std.typecons.Identity and std.traits.Identity

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-08-27T09:28:00Z
Last change time
2015-06-09T01:31:16Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2014-08-27T09:28:01Z
//////////// test.d //////////// import std.typecons, std.traits; alias O = Identity!Object; //////////////////////////////// test.d(3): Error: std.traits.Identity(alias A) at C:\...\std\traits.d(3337) conflicts with std.typecons.Identity(alias T) at C:\...\std\typecons.d(703)
Comment #1 by dlang-bugzilla — 2014-08-27T09:29:56Z
Comment #2 by github-bugzilla — 2014-08-27T14:22:58Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/eeef77b418a7ffd9d59895cd3478506423f089d8 fix Issue 13380 - Conflict with std.typecons.Identity and std.traits.Identity https://github.com/D-Programming-Language/phobos/commit/f0e9039227ee0fee664cde2d29a733cc69873912 Merge pull request #2470 from CyberShadow/fix13380 fix Issue 13380 - Conflict with std.typecons.Identity and std.traits.Identity