← Back to index
|
Original Bugzilla link
Bug 12112 – buildNormalizedPath compile error for wstring and dstring
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-08T14:11:59Z
Last change time
2020-03-21T03:56:33Z
Assigned to
No Owner
Creator
Nick Sabalausky
Comments
Comment #0
by bus_dbugzilla — 2014-02-08T14:11:59Z
-------------------------------------- import std.path; void main() { buildNormalizedPath(""w); } -------------------------------------- Result: C:\Users\Nick\AppData\Roaming\dvm\compilers\dmd-2.064.2\bin\..\src\phobos\std\path.d(1278): Error: cannot implicitly convert expression ("...") of type string to wchar[] C:\Users\Nick\AppData\Roaming\dvm\compilers\dmd-2.064.2\bin\..\src\phobos\std\path.d(1302): Error: cannot implicitly convert expression (c) of type immutable(int) to wchar testWideBuildPath.d(3): Error: template instance std.path.buildNormalizedPath!wchar error instantiating
Comment #1
by b2.temp — 2015-11-27T16:20:32Z
not anymore