[Issue 4544] Better error-message when expecting string but got a character constant

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 17 16:34:16 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=4544

Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com

--- Comment #3 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
A tiny bit better but still godawful on v2.080:

saa.d(5): Error: unterminated character constant
saa.d(5): Error: found est when expecting ,
saa.d(5): Error: unterminated character constant
saa.d(5): Error: found ; when expecting ,
saa.d(6): Error: expression expected, not }
saa.d(6): Error: found EOF when expecting ,
saa.d(6): Error: found EOF when expecting )
saa.d(6): Error: found EOF when expecting ; following statement
saa.d(6): Error: found EOF when expecting } following compound statement

--


More information about the Digitalmars-d-bugs mailing list