https://issues.dlang.org/show_bug.cgi?id=10810
--- Comment #5 from Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> --- (In reply to timon.gehr from comment #3) > Currently, this is quite conservative. Analysis of any function is suspended > if a function call with unresolved return type is encountered, until this > return type has been resolved. Short-circuiting return type analysis to "void" if there are no return statements in the body seems like a reasonable way to solve this particular case to me. --