Draft: Disallow `ref` and `out` for inline-allocated arrays
This draft is an initial attempt to address #925, that is to disallow ref
and out
parameters for inline-allocated arrays, since the callee might reallocate or reassign the array. In fact, passing inline-allocated array to ref
or out
parameter will cause segfaults as mentioned in the issue after such code being compiled (with warnings) and run.
Edited by Akarin