https://issues.dlang.org/show_bug.cgi?id=22990

--- Comment #2 from Walter Bright <[email protected]> ---
(In reply to Walter Bright from comment #1)
> Perhaps the function can set a flag if it doesn't see any `return`
> statements.

Eh, that means scanning the statement AST before semantic analysis, i.e. slow.

I don't think this is a particular problem anyway, as why would one return
`auto` if there are no `return` statements?

--

Reply via email to