Make using compiled libs with debug code better
Tim
tim.dlang at t-online.de
Tue Oct 19 15:33:32 UTC 2021
On Tuesday, 19 October 2021 at 13:57:31 UTC, Steven Schveighoffer
wrote:
> On 10/18/21 5:51 PM, Elronnd wrote:
>> What if I take a pointer to a function with contracts and call
>> it from someplace that doesn't know about those contracts?
>
> A good point. There are also issues with virtual functions
> along these lines.
For virtual functions it would be better to evaluate the in
contract at the call site, because the caller has to fulfill the
in contract. Here is the relevant bug report:
https://issues.dlang.org/show_bug.cgi?id=6857
More information about the Digitalmars-d
mailing list