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

--- Comment #3 from [email protected] ---
Reduced example:

void foo(T...)(auto ref T args) {}

void main()
{
  enum tup = Tuple();
  foo(tup.expand); // line 6
}

struct Tuple
{
  int expand;
}

foo should probably infer non-ref for enums.

--

Reply via email to