https://issues.dlang.org/show_bug.cgi?id=21294

--- Comment #10 from Iain Buclaw <[email protected]> ---
Although re-adding the dscope import fixes the bootstrap and build for gdc. 
Counter-intuitively, removing *more* imports appears to fix the issue for dmd.

I see StringValue!Type being generated after removing unused imports from
access.d, aggregate.d, arrayop.d, canthrow.d, compiler.d, and cond.d.

$ dmd -version=MARS -I=src -J=src/dmd/res -J=build -c -od=build/.
src/dmd/./mtype.d -v | grep StringV
function  dmd.root.stringtable.StringValue!(Type).StringValue.lstring
function  dmd.root.stringtable.StringValue!(Type).StringValue.len
function  dmd.root.stringtable.StringValue!(Type).StringValue.toDchars
function  dmd.root.stringtable.StringValue!(Type).StringValue.toString
function  dmd.root.stringtable.StringValue!(Type).StringValue.__xopEquals
function  dmd.root.stringtable.StringValue!(Type).StringValue.__xtoHash

--

Reply via email to