interface inference

Paul Backus snarwin at gmail.com
Tue Nov 28 15:46:18 UTC 2023


On Thursday, 23 November 2023 at 19:17:20 UTC, Antonio wrote:
> Basically, the ternary conditional ```?:``` result type is not 
> inferred even if the type returned by the two possibilities are 
> the same.
>
> **Is it a bug or the expected behaviour?**

Known bug, first reported in 2009: 
https://issues.dlang.org/show_bug.cgi?id=3543


More information about the Digitalmars-d-learn mailing list