[Issue 17559] [REG2.073.0] Wrong line number in stack trace

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 26 11:18:49 PDT 2017


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

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to Rainer Schuetze from comment #1)
> Works alright on Windows.

Linux x64 here.

> Anything special in mod.d or can it be omitted?

If fun is in the same file as main, the line number still changes between
versions, but it points at the line containing fun's signature. That's not so
bad - it's not useful but at least it's not misleading wrong, as when fun is in
a separate module.

--


More information about the Digitalmars-d-bugs mailing list