[Issue 8016] (Regression git) Methods defined in external object files when template alias parameter is involved

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 3 03:19:59 PDT 2012


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



--- Comment #3 from Leandro Lucarella <leandro.lucarella at sociomantic.com> 2012-05-03 03:21:07 PDT ---
> https://github.com/D-Programming-Language/dmd/pull/920

Looks like this test case is exposing more bugs than we were aware of!

This pull request fixes the original problem I had (compiling tango CDGC),
which is the test case without the forceSemantic() trick.

Using the forceSemantic() trick doesn't work in D1 but doesn't look like a
regression, at least is present in 1.070 and 1.071.

The patch only fixes the problem partially though, with the patch you don't get
the multiple definition error but you get an undefined reference error instead,
so is a step forward but not a fix. But again, this is not a regression in D2,
the problem is present at least before the fix for 2962.

I'll report another bug with the D1-only bug that's fixed by this pull request,
so we can close that one when the pull is merged, but can keep this one open
(but without the regression severity).

-- 
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