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

2013-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8892 --- Comment #4 from Andrej Mitrovic 2013-01-26 14:35:20 PST --- (In reply to comment #2) > struct Foo { > char[2] data; > } > void main() { > auto f = Foo(['A']); > } What I don't understand is why the above fails at compile-time but

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

2012-11-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8892 --- Comment #3 from Andrej Mitrovic 2012-11-29 14:49:23 PST --- *** Issue 8918 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mai

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

2012-10-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8892 --- Comment #2 from bearophile_h...@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, shor

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

2012-10-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8892 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme