[Issue 6185] Include non-global functions when resolving UFCS

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 25 05:11:29 PDT 2013


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



--- Comment #17 from Kenji Hara <k.hara.pg at gmail.com> 2013-04-25 05:11:28 PDT ---
(In reply to comment #16)
> (In reply to comment #15)
> 
> > but
> > 
> > // from issue 4525
> > class Foo
> > {
> >     void bar(string s) {}
> >     void foo()
> >     {
> >         string str = "hello";
> >         str.bar();
> >     }
> > }
> > 
> > Would be kept invalid.
> 
> Is this a temporary limit or is this meant to remain as a permanent D wart?

I think it would be never allowed. It would re-open the bug 2344.

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