[Issue 5625] std.format unittest disabled

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 1 21:02:26 PST 2012


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



--- Comment #3 from Brad Roberts <braddr at puremagic.com> 2012-01-01 21:02:22 PST ---
The bug in comment 1 has been fixed.  The next bug related to creal passing in
vararg's.  The repro case:

module bugformat;

import core.vararg;

void bar(TypeInfo[] arguments, va_list argptr)
{
    creal values = va_arg!(cdouble)(argptr);
    assert(values == 1.2 + 3.4i, "value didn't make it through intact");
}

void foo(...)
{
    bar(_arguments, _argptr);
}

int main()
{
    foo(1.2 + 3.4i);

    return 0;
}

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