Summary: need this to access member when mixining in a function
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Tobias Pankrath <> 2012-06-02 13:04:37 
PDT ---
mixin template print(b...)
    void doprint() {
        foreach(mem; b)

class A { int x,y; mixin print!(x, y); }

Now DMD says:  need this to access member

Maybe related to Issue 3159

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to