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

--- Comment #7 from Walter Bright <[email protected]> ---
Declaring c as:

    S c = S(&buf);

does cause it to be inferred to be `scope`, and the next line is then correctly
diagnosed.

So, the trouble is the scope inference should be looking at the elements of the
static array, but is not.

--

Reply via email to