Summary: with -inline dmd sometime instantiates nested
                    functions that then cannot be accessed
           Product: D
           Version: 1.046
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

when compiling blip ( git clone git:// ) on mac with

make EXTRA_LIBS="-L-ltango-user-dmd -L-framework -LAccelerate" using dmd 1.046
and latest tango trunk (svn co
tango; cd tango/build; ./ and a dmd.conf that accesses tango and not

I get
/Users/fawzi/Documents/d-dev/blipClean/blip/narray/BasicOps.d(361): Error:
function blip.narray.BasicOps.norm2!(cdouble,2,real).norm2.reduceAllGen!(void
delegate(ref real x, cdouble y)
x += cast(real)cast(double)y * cast(real)cast(double)y +
cast(real)cast(idouble)y * cast(real)cast(idouble)y;
,void delegate(ref real x, real y)
x += y;
,real delegate(real x)
return x;
,cdouble,2,real).reduceAllGen is a nested function and cannot be accessed from

it seem that inline makes the function nested and inaccessible.

Unfortunately smaller examples don't seem

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

Reply via email to