Summary: UFCS doesn't work with template alias parameter
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Ryuichi OHORI <> 2012-09-18 21:37:44 PDT 
In examples below these 5 lines are common:

module main;
import std.stdio : writeln;
void main()
    F!writeln("Hello ", "world!");

In , I wrote F using UFCS:
void F(alias f) (string x, string y)
which became an error.

// In , I wrote F normally:
void F(alias f) (string x, string y)
    f(x, y);
and it worked.

I see many UFCS issues here, sorry if this is duplicated.

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

Reply via email to