https://d.puremagic.com/issues/show_bug.cgi?id=11718
Nils <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Nils <[email protected]> 2013-12-11 14:53:18 PST --- (In reply to comment #0) Reduced: --- cat > test1.d << code struct Proxy(alias a) {} auto setfields(int a) { Proxy!a p; return p; } auto setfields() { int a; Proxy!a p; return p; } code dmd -c test1.d --- test1.d(1): Error: struct test1.setfields.Proxy!(a).Proxy failed semantic analysis test1.d(10): Error: template instance test1.setfields.Proxy!(a) error instantiating --- 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 --- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
