https://issues.dlang.org/show_bug.cgi?id=23626
Iain Buclaw <ibuc...@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuc...@gdcproject.org See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=21518 --- Comment #2 from Iain Buclaw <ibuc...@gdcproject.org> --- (In reply to johanengelen from comment #1) > This frontend change "fixes" the errors (3 lines removed): > diff dmd/mtype.d: > ``` > /** Extends TypeNext.constConv by also checking for matching attributes > **/ > override MATCH constConv(Type to) > { > - // Attributes need to match exactly, otherwise it's an implicit > conversion > - if (this.ty != to.ty || !this.attributesEqual(cast(TypeFunction) > to)) > - return MATCH.nomatch; > ``` Those three lines come from https://github.com/dlang/dmd/pull/12090 which was first released in v2.096.0. This conveniently fits your timeline, so is a possible introducer of the regression. --