Summary: UFCS doesn't work with local aliases to functions
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from stas <> 2012-10-16 21:40:33 PDT ---
Applies to: DMD 2.060

This should work:

import std.stdio, std.string;
void main()
    alias toStringz z;

    sscanf("".z,"".z); // Error: undefined identifier 'z'
                       // OK if z is not local

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

Reply via email to