https://issues.dlang.org/show_bug.cgi?id=13442
--- Comment #2 from Walter Bright <[email protected]> --- Unfortunately, fixing this is going to be a bit difficult. Safety checks are done during the semantic pass, not an add-on. The semantic pass for default args are run in the context of the function declaration, not the function call site, meaning the safety checks are not included in the semantic analysis of the function call site. --
