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