[Issue 14277] Compile-time array casting error - ugly error report

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 12 10:21:00 PDT 2015


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

--- Comment #2 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
Created attachment 1491
  --> https://issues.dlang.org/attachment.cgi?id=1491&action=edit
trim output of long expressions

as far as i know, `Expression::toChars()` is not using in anything vital, only
in diagnostic output. so i trimming it's result to arbitrary limit of 200
chars.

maybe it's better to fix array literal output, but this is easier, and it will
additionaly limit output of other long expressions, which are unreadable anyway
if they reaches that size.

--


More information about the Digitalmars-d-bugs mailing list