Regression in common type inference of delegates

Stefan Koch uplink.coder at gmail.com
Wed Sep 30 08:44:03 UTC 2020


On Wednesday, 30 September 2020 at 05:50:45 UTC, H. S. Teoh wrote:
> Tried to compile an old project of mine today, and ran into 
> this:
>
> 	https://issues.dlang.org/show_bug.cgi?id=21285
>
> It used to work in 2.092, but no longer works in 2.094.  :-(
>
> This is a problem for me because the code base in question 
> contains a LOT of literals of this sort, and rewriting all of 
> that to use whatever workaround would be a huge undertaking.
>
>
> T
bisected.

     dmd: Merge pull request #11292 from Biotronic/Issue20938

     https://github.com/dlang/dmd/pull/11292

     Fix issue 20938 - Cannot create const arrays mixing immutable 
and mutable structs with indirections
     merged-on-behalf-of: Mathias LANG <pro.mathias.lang at gmail.com>



More information about the Digitalmars-d mailing list