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

--- Comment #3 from Basile-z <[email protected]> ---
(In reply to Stewart Gordon from comment #2)
> At first I thought this was a Linux-specific feature - but I see now it's in
> the Windows, OSX (which is called macOS now) and FreeBSD versions alike. 
> Any idea when this feature was added?  Furthermore, does this switch on in
> contracts for all functions, or does it exclude private functions?

it was added in version 2.084:

https://dlang.org/changelog/2.084.0.html#check-switch

Sorry I missed the "private" criterion... maybe reopen if the check feature is
not sufficient.

--

Reply via email to