Changes between Version 1 and Version 2 of Ticket #227
- Timestamp:
- Feb 13, 2025, 11:35:01 AM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #227 – Description
v1 v2 5 5 6 6 {{{ 7 forall (otype T | {void foo(T);})7 forall(T | { void foo(T); }) 8 8 struct S { 9 9 T t; … … 14 14 S(int) s3 @= {0}; // ok ...? 15 15 16 forall (otype T | {void foo(T);})16 forall(T | { void foo(T); }) 17 17 struct U { 18 18 T * t; … … 20 20 21 21 U(int) u1; // ok ...? 22 23 22 }}} 24 23 … … 27 26 28 27 {{{ 29 trait is_happy( otype T ) { 28 forall(T) 29 trait is_happy { 30 30 void sayHi(T); 31 31 }; 32 32 33 forall( otypeT | is_happy(T) )33 forall(T | is_happy(T) ) 34 34 struct thing { T item; }; 35 35 36 forall( otypeT36 forall(T 37 37 #ifdef REMEMBER_ASSN 38 38 | is_happy(T)