www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - =?UTF-8?B?W0lzc3VlIDI0NTM5XSBOZXc6IF9fdHJhaXRzKGlkZW50aWZpZXIs?=

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

          Issue ID: 24539
           Summary: __traits(identifier, …) should work with sequences
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: qs.il.paperinik gmail.com

If the argument of `__traits(identifier)` is a sequence or simply multiple
arguments, it should return either a sequence or array of the individual
identifiers. Alternatively, add a new trait, `__traits(identifiers)` (with a
plural-s), that takes as arguments and returns sequences.

--
May 06