[Issue 21294] [REG 2.095]: DMD fails to link since PR11743

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 6 12:39:29 UTC 2020


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

--- Comment #10 from Iain Buclaw <ibuclaw at gdcproject.org> ---
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

--


More information about the Digitalmars-d-bugs mailing list