[Issue 8892] Not precise error message with failed fixed size array assign

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 25 11:14:48 PDT 2012


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



--- Comment #2 from bearophile_hugs at eml.cc 2012-10-25 11:14:47 PDT ---
(In reply to comment #1)

> Don't you mean char[3]?

Right, sorry (this code comes from Issue 8893 ).


> Also the 'bar' function is not necessary for test-case.

Right, shorter test case:


struct Foo {
    char[2] data;
}
void main() {
    auto f = Foo(['A']);
}

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