Thread overview
Regression in common type inference of delegates
Sep 30, 2020
H. S. Teoh
Sep 30, 2020
Stefan Koch
Sep 30, 2020
Stefan Koch
September 29, 2020
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

-- 
War doesn't prove who's right, just who's left. -- BSD Games' Fortune
September 30, 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

I am going to look into it.
September 30, 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@gmail.com>