← Back to index
|
Original Bugzilla link
Bug 11703 – Typedef properties should not be of the original type
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-07T07:02:07Z
Last change time
2020-03-21T03:56:34Z
Assigned to
No Owner
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2013-12-07T07:02:07Z
void main() { import std.typecons: Typedef; alias T = Typedef!int; T m; pragma(msg, typeof(m)); auto m1 = T.min; pragma(msg, typeof(m1)); auto m2 = T.max; pragma(msg, typeof(m2)); } dmd 2.065alpha prints: Typedef!(int, 0) int int Expected: Typedef!(int, 0) Typedef!(int, 0) Typedef!(int, 0)
Comment #1
by github-bugzilla — 2017-01-27T17:53:43Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5fedf3503d73cead36a33260ba3efcc39847b8ce
fix issue 11703, Typedef properties should not be of the original type
https://github.com/dlang/phobos/commit/5da61cafac754ba63d45028b38913eeef937d934
Merge pull request #5059 from BBasile/issue-11703 fix issue 11703, Typedef properties should not be of the original type
Comment #2
by github-bugzilla — 2017-02-24T18:15:35Z
Commits pushed to newCTFE at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5fedf3503d73cead36a33260ba3efcc39847b8ce
fix issue 11703, Typedef properties should not be of the original type
https://github.com/dlang/phobos/commit/5da61cafac754ba63d45028b38913eeef937d934
Merge pull request #5059 from BBasile/issue-11703
Comment #3
by github-bugzilla — 2017-03-22T12:21:56Z
Commits pushed to stable at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5fedf3503d73cead36a33260ba3efcc39847b8ce
fix issue 11703, Typedef properties should not be of the original type
https://github.com/dlang/phobos/commit/5da61cafac754ba63d45028b38913eeef937d934
Merge pull request #5059 from BBasile/issue-11703