https://issues.dlang.org/show_bug.cgi?id=17351
Andrei Alexandrescu <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Andrei Alexandrescu <[email protected]> --- This issue is not particular to arrays. The following code also fails to compile: bool fun(S)(ref S a) { return true; } // (1) void main() { static const int sa2 = 1; static assert(fun(sa2)); } --
