Skip to content

Commit 7814ada

Browse files
committed
Test
1 parent 6968d11 commit 7814ada

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/dmd/identifier.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import dmd.root.rootobject;
2222
import dmd.root.stringtable;
2323
import dmd.tokens;
2424
import dmd.utf;
25-
import dmd.utils;
2625

2726

2827
/***********************************************************
@@ -170,7 +169,7 @@ nothrow:
170169
import dmd.root.filename: absPathThen;
171170

172171
// see below for why we use absPathThen
173-
return loc.filename.toDString().absPathThen!((absPath)
172+
return loc.filename[0 .. strlen(loc.filename)].absPathThen!((absPath)
174173
{
175174
// this block generates the "regular" identifier, i.e. if there are no collisions
176175
OutBuffer idBuf;

0 commit comments

Comments
 (0)