[Issue 24539] New: __traits(identifier, …) should work with sequences

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 6 12:09:14 UTC 2024


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 at puremagic.com
          Reporter: qs.il.paperinik at 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.

--


More information about the Digitalmars-d-bugs mailing list