[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
Thu Aug 6 21:43:35 PDT 2009


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


Cristi Vlasceanu <cristian at zerobugs.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cristian at zerobugs.org




--- Comment #5 from Cristi Vlasceanu <cristian at zerobugs.org>  2009-08-06 21:43:34 PDT ---
The bug was filed as a blocker for the .net implementation because there are
cases like this System.Text.RegularExpressions that has a static Match
Match(System.String, System.String) method.

I think that marking the bug as invalid because of a limitation in the
implementation is ridiculous.

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.

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