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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 24 21:52:35 PDT 2013


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


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

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


--- Comment #15 from Kenji Hara <k.hara.pg at 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: -------


More information about the Digitalmars-d-bugs mailing list