May 12, 2020
https://issues.dlang.org/show_bug.cgi?id=20825

          Issue ID: 20825
           Summary: the filename of the error messages generated by dmd
                    build.d script miss the "src/" part of the path
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: b2.temp@gmx.com

example:

> dmd/declaration.d(796): Error: undefined identifier `o`

but when you have dmd dub.sdl loaded in an IDE the IDE will try to solve
relative path from "src" hance the error messages wont be clickable.
I believe this is caused by the fact that the build script is located in src/
and not in the repo root.

--