---
int foo(out int bar)
in
{
somevar = bar; // This should be an error.
somefunc(bar); // This should be an error.
assert(bar == 0); // This should be an error.
}
do
{
return 0;
}
---
See comments from https://github.com/dlang/dmd/pull/7553
Comment #1 by robert.schadek — 2024-12-13T18:56:05Z