[Issue 2982] Assertion failure in function if() clause

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 15 22:39:52 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2982





--- Comment #1 from Walter Bright <bugzilla at digitalmars.com>  2009-05-15 22:39:51 PDT ---
Reduces to:

auto max(Ts...)(Ts args)
{
        return 5;
}

void main() {
   assert(max(4, 5) == 5);
}

-- 
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