[Issue 11388] New: fun (A a) is not callable using argument types (A)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 30 13:51:48 PDT 2013


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: nobody at puremagic.com
        ReportedBy: thelastmammoth at gmail.com


--- Comment #0 from thelastmammoth at gmail.com 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: -------


More information about the Digitalmars-d-bugs mailing list