[Issue 3276] Recursion broken by alias template parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 12 12:35:30 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3276
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
CC| |clugdbug at yahoo.com.au
Summary|Mutual recursion broken in |Recursion broken by alias
|type templates |template parameter
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-05-12 12:35:28 PDT ---
Reduced test case shows it doesn't involve mutual recursion (original title was
"Mutual recursion broken in type templates")
template Bug3276(bool B) {
static if (B)
alias Bug3276!(false) Bug3276;
else
alias double Bug3276;
}
template Bug3276_b(alias W) {
alias W!(true) Bug3276_b;
}
alias Bug3276_b!(Bug3276) Bug3276_c;
--
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