void fun(ref int n) {}
unittest {
import std.traits, std.meta;
alias a = Parameters!fun;
alias b = AliasSeq!(Parameters!fun);
pragma(msg, a); // (ref int)
pragma(msg, b); // (int)
}
As indicated, the two pragmas give different output.
This seems kinda related to issue 1818.
Comment #1 by simen.kjaras — 2020-08-10T07:34:18Z
*** Issue 21138 has been marked as a duplicate of this issue. ***
Comment #2 by robert.schadek — 2024-12-13T19:02:50Z