Opened 7 years ago
Closed 7 years ago
#89 closed defect (fixed)
forall distribution order is wrong
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
The order of the parameters of generic types inside a forall distribution clause seems wrong. For example, this does not compile :
struct swagl;
forall(otype T) {
forall(dtype D) struct foo {
D * ptr; T val;
};
}
int main() {
foo(int, swagl) bar;
}
Note:
See TracTickets
for help on using tickets.
Fixed by 284da8c