[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
Mon Aug 12 19:01:19 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10810
--- Comment #3 from timon.gehr at gmx.ch 2013-08-12 19:01:18 PDT ---
(In reply to comment #2)
> What do you mean with "additional cases"?
The D programs that compile after the fix that wouldn't have compiled before.
> The return types of these functions don't depend on each other.
Indeed, but in order to fix this issue, we need a computationally decidable
notion of dependence of function return types.
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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list