https://issues.dlang.org/show_bug.cgi?id=18919
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <[email protected]> --- @tim-dlang created dlang/dmd pull request #15968 "Fix issue 18919 - __FILE__ and __LINE__ should work when used in defa…" fixing this issue: - Fix issue 18919 - __FILE__ and __LINE__ should work when used in default argument expressions The parser now always creates AST nodes for default init expressions like __FILE__. They are replaced in resolveLoc. Variable inDefaultArg in Scope is used, so the nodes are not replaced too early. https://github.com/dlang/dmd/pull/15968 --
