December 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6185


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |puneet@coverify.org


--- Comment #10 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-27 09:03:02 PST ---
*** Issue 9216 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 02, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.97all@gmail.com


--- Comment #11 from yebblies <yebblies@gmail.com> 2013-01-02 19:34:52 EST ---
*** Issue 8692 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 02, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stasoid@yahoo.com


--- Comment #12 from yebblies <yebblies@gmail.com> 2013-01-02 19:35:09 EST ---
*** Issue 8834 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185


Dicebot <m.strashun@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.strashun@gmail.com


--- Comment #13 from Dicebot <m.strashun@gmail.com> 2013-01-26 14:49:51 PST ---
Is it possible to get "preapproved" on this?
Quite inconvenient to add global imports only to use UFCS.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 15, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg@gmx.com


--- Comment #14 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-15 08:19:03 PST ---
*** Issue 9515 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #15 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-24 21:52:30 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1930

By the compiler change, this code

void main()
{
   import std.utf;
   "foo".toUTF16z;
}

Would be changed to valid, but

// from issue 4525
class Foo
{
    void bar(string s) {}
    void foo()
    {
        string str = "hello";
        str.bar();
    }
}

Would be kept invalid. Issue 8692, issue 8834, and issue 9515 are same.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185



--- Comment #16 from bearophile_hugs@eml.cc 2013-04-25 04:38:11 PDT ---
(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?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185



--- Comment #17 from Kenji Hara <k.hara.pg@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: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185



--- Comment #18 from bearophile_hugs@eml.cc 2013-04-25 05:55:14 PDT ---
(In reply to comment #17)

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

OK. I think that probably there is a way to solve those problems.
But I also think that to solve them you probably have to introduce complex
rules with corner cases (see C++ templates). So probably a small wart in a
simpler language is better that a complex feature that almost works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 06, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6185



--- Comment #19 from github-bugzilla@puremagic.com 2013-05-06 00:39:38 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/bb8b47d9168fde3c258eeb0d30a8b5e93ff9c684 fix Issue 6185 - Include non-global functions when resolving UFCS

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------