[Issue 5461] Invalid declaration for auto functions in .di files generated by DMD -H
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 9 09:56:33 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5461
LightBender <adamw at prospectivesoftware.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adamw at prospectivesoftware.c
| |om
--- Comment #4 from LightBender <adamw at prospectivesoftware.com> 2012-05-09 09:57:54 PDT ---
(In reply to comment #3)
> ?
> git dmd still produces 'auto foo();' for me.
>
> I think the patch could be more complex though.
> If it's a Voldemort type the whole body needs to be included.
> But what if it's a "simple" type? Then you could just print out the inferred
> type.
This pull fixes this problem and a bunch of others:
https://github.com/D-Programming-Language/dmd/pull/928. However, it currently
fails to build on Linux and fails the unittests on Windows thanks to a problem
with the dur template function in std.datetime. The solution used by this pull
is to include the function body of the auto-function as that was needed to
allow Phobos to build correctly using the DRT DI files.
--
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