Opened 3 years ago

Closed 3 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;
}

Change History (1)

comment:1 Changed 3 years ago by Rob Schluntz

Resolution: fixed
Status: newclosed

Fixed by 284da8c

Note: See TracTickets for help on using tickets.