[Issue 3231] Function declared to return a type with its same name doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 8 13:25:57 PDT 2009


--- Comment #10 from Cristi Vlasceanu <cristian at zerobugs.org>  2009-08-08 13:25:53 PDT ---
(In reply to comment #9)
> (In reply to comment #5)
> > I think that marking the bug as invalid because of a limitation in the
> > implementation is ridiculous.
> AIUI this isn't a limitation in the implementation, but a characteristic of how
> D is designed.
> > The fix (which I am applying to the my source tree at
> > http://dnet.codeplex.com/) is very simple: continue the look up in enclosing
> > scope.
> Better beware of hijacking vulnerabilities.

This is possibly valid, do you have an example that drives your point?

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