Opened 6 years ago

Closed 6 years ago

#64 closed defect (fixed)

LValue assignment incorrect error

Reported by: Thierry Delisle Owned by: Rob Schluntz <rschlunt@…>
Priority: major Component: cfa-cc
Version: 1.0 Keywords:


This code causes an error saying the left operand of an assigment must be an lvalue.

forall(dtype T)
struct Inner {
        T* value;
struct Outer {
void ?=?(Outer & lhs, const Outer & rhs) {
        lhs.value = rhs.value;

Change History (1)

comment:1 Changed 6 years ago by Rob Schluntz <rschlunt@…>

Owner: set to Rob Schluntz <rschlunt@…>
Resolution: fixed
Status: newclosed

In 1393df07:

Insert a temporary for dtype-static member expressions that must be C lvalues [fixes #64]

Note: See TracTickets for help on using tickets.