Thread overview | |||||
---|---|---|---|---|---|
|
November 19, 2006 [Issue 569] New: Bogus forward reference error in template inside variadic template | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=569 Summary: Bogus forward reference error in template inside variadic template Product: D Version: 0.174 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: daekharel@gmail.com import std.stdio; template Test(A ...) { template Test(B) { void Test(A a, B b) { writefln(a, b); } } } void main() { alias Test!(char[], int) Temp; alias Temp!(float) T; } -------------- Compiling the above code produces: "Error: error: forward reference of B". B is quite obviously not forward-referenced in the code. -- |
September 18, 2009 [Issue 569] Bogus forward reference error in template inside variadic template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=569 Rainer Schuetze <r.sagitario@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagitario@gmx.de --- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> 2009-09-18 01:38:40 PDT --- I could not reproduce this bug with DMD 1.047 and DMD 2.032. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 18, 2009 [Issue 569] Bogus forward reference error in template inside variadic template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=569 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |FIXED --- Comment #2 from Don <clugdbug@yahoo.com.au> 2009-09-18 15:07:14 PDT --- Fixed long ago. Failed in 0.175, worked on DMD1.006. Still works. -- 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