https://issues.dlang.org/show_bug.cgi?id=16689
Issue ID: 16689 Summary: Errors in instantiated mixin templates should show instantiation point Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic Severity: enhancement Priority: P5 Component: dmd Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com When an error occurs in an instantiated template, DMD will show where the template was instantiated (in addition to the location of the error itself). This does not happen for mixin templates, i.e.: //////////// test.d //////////// mixin template Foo() { static assert(false, "foo"); } mixin Foo!(); //////////////////////////////// $ dmd -o- test.d test.d(3): Error: static assert "foo" DMD should also mention line 6, where the mixin template was instantiated. --