Fix address space of reference operand in the remaining builtin compound assignment operators.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This patch LGTM.
You might consider adding tests for weird cases like class types with conversion operators to reference types. To a certain extent that sort of thing is unimplementable because the space of address spaces is infinite, so we can't fall back on adding a candidate for every possible address space; but even if we don't plan on addressing it, we can test our current behavior to check that we don't do something unexpected (like crash or give a nonsensical diagnostic).