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



--- Comment #3 from Don <clugd...@yahoo.com.au> 2011-09-14 18:15:21 PDT ---
Compiling the first case with -inline gives an error: 
c:\dmd\windows\bin\..\..\src\phobos\std\algorithm.d(423): Error: function D
main
 is a nested function and cannot be accessed from array

which is completely wrong -- why does it think main() is a nested function???
So even on Windows this shows a serious problem with the inliner. But the
inlining bug isn't a regression, the same error message applies also as far
back as 2.035.

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

Reply via email to