http://d.puremagic.com/issues/show_bug.cgi?id=11388

           Summary: fun (A a) is not callable using argument types (A)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2013-10-30 13:51:47 PDT ---
dmd -c -o- -Ipath/to/dmd2_064_beta_4/src/druntime/src/ main.d
 Error: function main.fun2 (immutable(FuncTable)* a) is not callable using
argument types (immutable(FuncTable)*)

import rt.sections_osx:SectionGroup;
import rt.deh2:FuncTable;
void fun2(immutable(FuncTable)* a){}
void fun(){
  SectionGroup sg;
  auto a = sg.ehTables.ptr;
  fun2(a);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to