digitalmars.D.bugs - [Issue 5758] New: std.path.join is not evaluable at compile-time
- d-bugmail puremagic.com (28/28) Mar 20 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5758
- d-bugmail puremagic.com (12/12) Mar 20 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5758
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: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich 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: -------
Mar 20 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5758 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-03-20 17:34:12 PDT --- std.path is probably being replaced, and apparently doesn't suffer from this problem. I'm closing it down. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 20 2011