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


klickverbot <c...@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@klickverbot.at


--- Comment #2 from klickverbot <c...@klickverbot.at> 2012-10-18 02:29:59 PDT 
---
This is probably the same issue I hit when merging the 2.060 frontend into LDC
a while ago. The issue is that the same type can end up with two different
mangled names, which causes two different TypeInfo instances to be emitted.

The test case from
https://github.com/ldc-developers/ldc/blob/master/gen/tocall.cpp#L677:

---
auto iota() {
    static struct Result {
        this(int) {}
        inout(Result) test() inout { return cast(inout)Result(0); }
    }
    return Result.init;
}
void main() { auto r = iota(); }
---

I'm not sure what the correct fix is here – Walter? Kenji?

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

Reply via email to