[Issue 3307] New: Template alias default parameters aren't resolved properly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 8 13:25:07 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3307
Summary: Template alias default parameters aren't resolved
properly
Product: D
Version: 2.022
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2009-09-08 13:25:06 PDT ---
This is the fourth bug reported in bug 3392.
struct dog(alias W = 0)
{ }
dog!(S) foo(alias S)() {
return dog!(S)();
}
dog!() test3307 = foo!(0)();
---
crash.d(5): Error: cannot implicitly convert expression (dog()) of type dog!(S
) to dog!()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list