Opened 8 years ago
Closed 8 years ago
#64 closed defect (fixed)
LValue assignment incorrect error
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
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 {
Inner(int);
};
void ?=?(Outer & lhs, const Outer & rhs) {
lhs.value = rhs.value;
}
Change History (1)
comment:1 by , 8 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 1393df07: