April 11, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9918

           Summary: Strang error: void initializers for pointers not
                    allowed in safe functions
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-04-11 04:30:46 PDT ---
import std.path;

string joinPath(C)(const(C[])[] paths...) @safe pure
{
    return buildNormalizedPath(buildPath(paths));
}

void main()
{
    joinPath("foo", "bar");
}

Using 2.063 git-head:

test.d(7): Error: variable test.joinPath!(char).joinPath.__arrayArg2219 void
initializers for pointers not allowed in safe functions

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


Lars T. Kyllingstad <bugzilla@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@kyllingen.net
         Resolution|                            |DUPLICATE


--- Comment #1 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2013-08-04 05:45:07 PDT ---
*** This issue has been marked as a duplicate of issue 6405 ***

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