[Issue 11718] [REG2.065a] Unintended mangled names conflict of nested template structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 18 15:39:01 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11718



--- Comment #4 from Nils <nilsbossung at googlemail.com> 2013-12-18 15:38:58 PST ---
(In reply to comment #1)
> And another, similar trigger:
> ---
> cat > test2.d << code
> mixin template M()
> {
>     struct S {}
> }
> mixin M!();
> mixin M!();
> code
> dmd -c test2.d
> ---
> test2.d(3): Error: struct test2.M!().S failed semantic analysis
> test2.d(6): Error: mixin test2.M!() error instantiating
> ---

Opened a new ticket for this: bug 11767

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


More information about the Digitalmars-d-bugs mailing list