[Issue 10449] Better error message when concatenating string

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 11 22:11:34 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Severity|normal                      |minor

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
>From 2.065, the message is changed.
With git-head (2.068a), it prints:

test.d(4): Error: invalid array operation ~"str2" (possible missing [])

It shows the applied prefix operator `~` in message, so I think it's improved.

--


More information about the Digitalmars-d-bugs mailing list