[Issue 19254] New: Change exception output format to be "file link" friendly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 20 08:14:17 UTC 2018


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

          Issue ID: 19254
           Summary: Change exception output format to be "file link"
                    friendly
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ali.akhtarzada at gmail.com

Currently DMD outputs exceptions with a file path that looks like:

core.exception.AssertError at tests/optional.d(450): unittest failure

Since @ and dot are valid filename chars, there's no way for generic IDEs to
and terminal plugins to "linkify" output without specific dmd exception
knowledge.

Maybe change to:

tests/optional.d(450): Exception at core.exception.AssertError:  assert message

This will also match the error format:

tests/optional.d(447,9): Error: error message

--


More information about the Digitalmars-d-bugs mailing list