[Issue 6185] New: UFCS doesn't work with function imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 20 16:00:07 PDT 2011


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

           Summary: UFCS doesn't work with function imports
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-06-20 15:55:20 PDT ---
Note: Function imports is a new feature that's currently in DMD's github repo,
it's not in 2.053, but it's going to be in 2.054.

module test;
void main()
{
}

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

Error: undefined identifier module test.toUTF16z

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