[Issue 23196] File constructor fails to preallocate oom error, uses exception instead

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 20 06:22:41 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23196

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Moth-Tolias created dlang/phobos pull request #8480 "preallocate oom error"
mentioning this issue:

- preallocate oom error

  fixes [issue 23196](https://issues.dlang.org/show_bug.cgi?id=23196).

  unfortunately, while i believe it should be possible to make this function
`@nogc nothrow` [since we are throwing an error, which cannot be recovered
from], i wasn't able to figure out how to get enforce to realise it. advice
would be greatly appreciated on this front.

https://github.com/dlang/phobos/pull/8480

--


More information about the Digitalmars-d-bugs mailing list