Custom Query (146 matches)
Results (22 - 24 of 146)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#42 | fixed | Generic index | ||
Description |
forall( dtype T ) struct ptr_t { T * ptr; }; forall( dtype T | sized( T ) ) T& ?[?]( ptr_t( T ) & this, ptrdiff_t idx ) { return this.ptr[idx]; } yields test.c: In function ‘___operator_index__A0_1_0_0__FRd0_R6sptr_tl__1’: test.c:22:56: warning: dereferencing ‘void *’ pointer } ^ test.c:22:5: error: invalid use of void expression } |
|||
#47 | fixed | Constructors are not generated when struct has union or enum member | ||
Description |
enum state_t { WAITFOR, CALL, BARGE }; struct global_t { state_t state; }; void ?{} ( global_t & this ) {} int main() { global_t x; } |
|||
#48 | fixed | ttype assertion resolution is too strict | ||
Description |
Assertions on ttype variables are currently too strict with regards to qualifiers. forall(ttype T | { void foo(T); }) void bar(T x); void foo(int); int main() { const int x; bar(x); }
T binds to [int], and there is no
Adding |
Note: See TracQuery
for help on using queries.