www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17878] New: Add __traits(isFuture, ...)

https://issues.dlang.org/show_bug.cgi?id=17878

          Issue ID: 17878
           Summary: Add __traits(isFuture, ...)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

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

--
Oct 05 2017