[Issue 10810] wrong forward reference error when using return type deduction and a cyclic call flow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 24 05:41:44 UTC 2020


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

--- Comment #10 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to timon.gehr from comment #6)
> The compiler does not know whether there are any return statements in the
> body when starting the analysis of a function because of conditional
> compilation and string mixins.

Um, does the compiler reuse this information across instantiations of the same
function template with different template parameters? See issue 21419.

--


More information about the Digitalmars-d-bugs mailing list