On 20/05/2016 12:44 AM, Andrei Alexandrescu wrote:
On 05/19/2016 10:43 AM, Steven Schveighoffer wrote:This may be crazy, but I solved this problem by simply moving the struct outside the function. What about a lowering that does this for you?That's also a possibility, but likely a more complicated one. -- Andrei
We don't actually need to lower it, just mangle it as if it was lowered.