digitalmars.D.bugs - [Issue 707] New: incorrect error lines for failed aliases
- d-bugmail puremagic.com Dec 21 2006
- d-bugmail puremagic.com Nov 26 2010
http://d.puremagic.com/issues/show_bug.cgi?id=707 Summary: incorrect error lines for failed aliases Product: D Version: 0.177 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: thomas-dloop kuehne.cn http://dstress.kuehne.cn/nocompile/a/alias_34_B.d # # Foofunc f; // line A # alias int function(Foo) Foofunc; // line B # DMD complains about line A but fails to mention the cause in line B. http://dstress.kuehne.cn/nocompile/alias_17.d # # void test() {} # # int _test; // line C # alias _test test; // line D # # void check(){ # test = 1; // line E # } DMD complains about lines C and E but fails to mention the cause in line D. http://dstress.kuehne.cn/nocompile/a/alias_36_E.d # # template bar(T) { # void foo() { # } # } # # alias bar!(long).foo foo; // line F # alias bar!(char).foo foo; // line G # # void main() { # foo(); // line H # } # DMD complains about line H but fails to mention the cause in lines G and F. --
Dec 21 2006
http://d.puremagic.com/issues/show_bug.cgi?id=707 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |bugzilla digitalmars.com --- Comment #1 from Andrei Alexandrescu <andrei metalanguage.com> 2010-11-26 13:53:30 PST --- The first example seems to work properly now on 1.065 and 2.050, but not the other two. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 26 2010








d-bugmail puremagic.com