Thread overview | |||||
---|---|---|---|---|---|
|
September 29, 2020 Regression in common type inference of delegates | ||||
---|---|---|---|---|
| ||||
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 Re: Regression in common type inference of delegates | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | 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 Re: Regression in common type inference of delegates | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | 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> |
Copyright © 1999-2021 by the D Language Foundation