https://issues.dlang.org/show_bug.cgi?id=18919
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <[email protected]> --- dlang/dmd pull request #15968 "Fix issue 18919 - __FILE__ and __LINE__ should work when used in defa…" was merged into master: - b2b81060411ae02d8336cd0aa47265775f29a8b4 by Tim Schendekehl: 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 --
