[Issue 10810] wrong forward reference error when using return type deduction and a cyclic call flow
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jul 3 05:12:38 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=10810
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dlang-bugzilla at thecybershad
| |ow.net
--- Comment #7 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.
Are you saying that the compiler knows that a calls b, but doesn't know that a
doesn't have any return statements?
--
More information about the Digitalmars-d-bugs
mailing list