D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17878 - Add __traits(isFuture, ...)
Summary: Add __traits(isFuture, ...)
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: RazvanN
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-05 18:09 UTC by Seb
Modified: 2021-01-03 22:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Seb 2017-10-05 18:09:16 UTC
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 RazvanN 2017-10-19 09:47:51 UTC
PR : https://github.com/dlang/dmd/pull/7232
Comment 2 github-bugzilla 2017-10-24 12:37:37 UTC
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 github-bugzilla 2017-12-18 22:55:03 UTC
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 Dlang Bot 2021-01-03 22:57:14 UTC
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