Bug 17878 – Add __traits(isFuture, ...)

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-10-05T18:09:16Z
Last change time
2021-01-03T22:57:14Z
Assigned to
RazvanN
Creator
Seb

Comments

Comment #0 by greensunny12 — 2017-10-05T18:09:16Z
There is currently no way to test whether a particular symbol is going to be introduced. It might be worthwhile to investigate whether this could be part of getFunctionAttributes (https://dlang.org/spec/traits.html#getFunctionAttributes). See also: https://issues.dlang.org/show_bug.cgi?id=17791
Comment #1 by razvan.nitu1305 — 2017-10-19T09:47:51Z
Comment #2 by github-bugzilla — 2017-10-24T12:37:37Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/03b13c79cb98088c60faa2457db0d8f85a0bc6dc Fix Issue 17878 - Add __traits(isFuture, ...) https://github.com/dlang/dmd/commit/51bc2fb427a5e0b3701b11ab2b6a5f356d8eca5d Merge pull request #7232 from RazvanN7/Issue_17878 Fix Issue 17878 - Add __traits(isFuture, ...)
Comment #3 by github-bugzilla — 2017-12-18T22:55:03Z
Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/03b13c79cb98088c60faa2457db0d8f85a0bc6dc Fix Issue 17878 - Add __traits(isFuture, ...) https://github.com/dlang/dmd/commit/51bc2fb427a5e0b3701b11ab2b6a5f356d8eca5d Merge pull request #7232 from RazvanN7/Issue_17878
Comment #4 by dlang-bot — 2021-01-03T22:57:14Z
dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 18da3ec2cbe528f546ab3fc955662457fb0a81e1 by RazvanN7: [dmd-cxx] Fix Issue 17878 - Add __traits(isFuture, ...) https://github.com/dlang/dmd/pull/12093