[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 10:47:37 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-25 10:47:34 PDT ---
(In reply to comment #0)
> A better error message is:
> 
> test.d(8): Error: cannot implicitly convert expression (['A','B']) of type
> char[] to char[4]

Don't you mean char[3]? Also the 'bar' function is not necessary for test-case.

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