bottom type as parameter or local variable, does that make sense?

Nick Treleaven nick at geany.org
Fri Jan 14 16:06:35 UTC 2022


On Friday, 14 January 2022 at 15:55:54 UTC, bauss wrote:
>
> Why is it even allowed, that's beyond my understanding?

So that generic code compiles when a type resolves to noreturn:
https://github.com/dlang/DIPs/blob/15081980cd393e21218da6836321ed37ebc48dd3/DIPs/DIP1034.md#interaction-with-other-language-features


More information about the Digitalmars-d mailing list