We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6968d11 commit 7814adaCopy full SHA for 7814ada
1 file changed
src/dmd/identifier.d
@@ -22,7 +22,6 @@ import dmd.root.rootobject;
22
import dmd.root.stringtable;
23
import dmd.tokens;
24
import dmd.utf;
25
-import dmd.utils;
26
27
28
/***********************************************************
@@ -170,7 +169,7 @@ nothrow:
170
169
import dmd.root.filename: absPathThen;
171
172
// see below for why we use absPathThen
173
- return loc.filename.toDString().absPathThen!((absPath)
+ return loc.filename[0 .. strlen(loc.filename)].absPathThen!((absPath)
174
{
175
// this block generates the "regular" identifier, i.e. if there are no collisions
176
OutBuffer idBuf;
0 commit comments