https://issues.dlang.org/show_bug.cgi?id=17601
--- Comment #7 from Martin Nowak <c...@dawg.eu> --- I'd say that the change in https://github.com/dlang/dmd/pull/6748 and using -deps without -o- are suboptimal, as you'd end up with all the codegen from the semantic3 in imported methods in your object files, not particularly nice. This is unfortunately similar to how inlining is implemented in dmd :/. --