What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from 2011-04-04 11:54:27 PDT ---
(In reply to comment #1)
> This one is a little hard to fix, because the semantic analysis for function
> bodies goes statement by statement in a forward manner.

This is a nice bug report, and to solve this kind of code the D compiler
probably needs a little more powerful type inference. If you are able to do
this improvement with a reasonable amount of work and code, then it's OK.
Otherwise an option it to mark this with WONTFIX to keep the D compiler
simpler. A better type inferencer may require more compilation time and a
bigger compiler.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to