Opened 8 years ago
Closed 8 years ago
#67 closed defect (fixed)
LValue assignment incorrect error : the return
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
Another bug with Lvalues checks.
The following does not compile :
forall(dtype T)
struct S {
T * ptr;
};
forall(dtype T | sized(T))
void foo( S(T) & this ) {
T *& it = this.ptr;
}
Note:
See TracTickets
for help on using tickets.
For the time being, rebind seems to work: