[Issue 18403] [REG2.078.2] Access violation when dmd tries to print highlighted code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 8 22:30:07 UTC 2018


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0aep6g at gmail.com
            Summary|Access violation when       |[REG2.078.2] Access
                   |deprecated feature          |violation when dmd tries to
                   |encountered                 |print highlighted code

--- Comment #1 from ag0aep6g at gmail.com ---
Also happens on other errors. Seems to be related to code highlighting via
backticks in the error message.

For example, a source file that's just "foo" also fails. But this works as
expected even though it prints a deprecation message (but it doesn't have
highlighted code):

----
void main() { shared int x; ++x; }
----

Never fails when dmd is invoked with `-color=off`.

The diff between 2.078.1 and 2.078.2 is really small [1], and I can't spot
anything that's related to code highlighting.


[1] https://github.com/dlang/dmd/compare/v2.078.1...v2.078.2

--


More information about the Digitalmars-d-bugs mailing list