Thread overview | |||||
---|---|---|---|---|---|
|
April 19, 2011 [Issue 5861] New: Wrong filename in error message when an invalid delegate in a template parameter is typeof()-ed | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5861 Summary: Wrong filename in error message when an invalid delegate in a template parameter is typeof()-ed Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: kennytm@gmail.com --- Comment #0 from kennytm@gmail.com 2011-04-19 12:10:41 PDT --- Test case: ----------------------------------------- // x.d #line 2000 "x.d" void g(alias f)() { typeof(f) z; } ----------------------------------------- // y.d import x; void main() { g!( (UndefinedIdentifier){} )(); } ----------------------------------------- The error message is: y.d(2002): Error: variable y.main.g!(__dgliteral1).g.z voids have no value y.d(3): Error: template instance y.main.g!(__dgliteral1) error instantiating where the first error should point to x.d(2002) or y.d(3). Probably related to issue 5073. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 10, 2011 [Issue 5861] Wrong filename in error message when an invalid delegate in a template parameter is typeof()-ed | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=5861 --- Comment #1 from kennytm@gmail.com 2011-06-10 12:05:03 PDT --- DMD pull #103. https://github.com/D-Programming-Language/dmd/pull/103 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 11, 2011 [Issue 5861] Wrong filename in error message when an invalid delegate in a template parameter is typeof()-ed | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=5861 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-06-11 14:21:10 PDT --- https://github.com/D-Programming-Language/dmd/commit/750f96853c8885ca7c95e97485cacb94205b7190 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation