[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 12:37:02 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3231


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




--- Comment #9 from Stewart Gordon <smjg at iname.com>  2009-08-08 12:37:01 PDT ---
(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.

-- 
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