Summary: cannot implicitly convert expression (test1) of type
                    Test1() to Test1
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from changlon <> 2011-05-26 20:17:10 PDT ---
struct Test1{
    int i ;
Test1 test1(char[] T)(){
    return Test1.init ;
static const Test1 my_test1 = test1!("123") ;

void main(){}
t1.d(7): Error: template instance test1!("123") does not match template
declaration test1(char[] T)

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

Reply via email to