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

          Issue ID: 19832
           Summary: mixin with AliasSeq fails
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

mixin has been expanded to accept any number of arguments that are being
concatenated. This should also work with an AliasSeq.

alias seq = AliasSeq!("a +", 1);
a = mixin(seq);

should behave the same way as

a = mixin("a +", 1);

The generated error message "Error: undefined identifier `tuple`" is rather
confusing.

--

Reply via email to