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

--- Comment #2 from Michael Reese <[email protected]> ---
This issue also appears when C-code has macros accessing struct elements via
pointer to struct.

C-code:

#define access_ptr(b,y) ((b)->x=(y))


ouptuts:

auto access_ptr(__MP20, __MP21)(__MP20 b, __MP21 y)
{
  return b->x = y; // Doesn't compile. Should be b.x = y
}

--

Reply via email to