[Issue 22370] New: std.concurrency.spawn* should accept noreturn callables
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 8 19:06:06 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22370
Issue ID: 22370
Summary: std.concurrency.spawn* should accept noreturn
callables
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: moonlightsentinel at disroot.org
spawn[Linked] currently requires the passed callable to return void. This
restriction could be lifted to allow `noreturn` because both imply no actual
return value.
--
More information about the Digitalmars-d-bugs
mailing list