Custom Query (146 matches)
Results (31 - 33 of 146)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#64 | fixed | LValue assignment incorrect error | ||
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; } |
|||
#65 | fixed | Member expression qualifiers are wrong | ||
Description |
This compiles, but shouldn't: struct S { int x; }; int main() { const S s; s.x = 0; }
|
|||
#67 | fixed | LValue assignment incorrect error : the return | ||
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 TracQuery
for help on using queries.