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

--- Comment #4 from Vladimir Panteleev <[email protected]> ---
(In reply to Eyal from comment #2)
> So alternatively to adding __POS__, dmd could be fixed so that __LINE__ is
> based on its *lexical* position. i.e: same value for __LINE__ in a default
> CT param value and when it is given to Pos() inside a default CT param value.

That seems like the way to go here IMO. As described, __POS__ seems a bit too
specific to your logging framework, whereas the above should be a more
universal improvement.

--

Reply via email to