http://d.puremagic.com/issues/show_bug.cgi?id=5758
Summary: std.path.join is not evaluable at compile-time Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-03-20 10:13:55 PDT --- module test; import std.path; string objdir = join(".", r"\dfl\obj\"); void main() {} test.d(4): Error: variable __arrayArg1231 is used before initialization test.d(4): Error: cannot evaluate join(".","\\dfl\\obj\\",(const(char)[][0u] __arrayArg1231 = void; , cast(const(char)[][])__arrayArg1231)) at compile time test.d(4): Error: cannot evaluate join(".","\\dfl\\obj\\",(const(char)[][0u] __arrayArg1231 = void; , cast(const(char)[][])__arrayArg1231)) at compile time The join() implementation is quite ugly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------