Opened 6 years ago
Closed 5 years ago
#167 closed defect (duplicate)
Generic-of-generic struct declaration cannot reuse typename
| Reported by: | mlbrooks | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
Example:
forall( dtype T )
struct a {};
forall( dtype T )
struct b {};
#ifdef THE_ERROR
forall( dtype T )
struct c {
b(a(T)) thing;
};
#else
forall( dtype T2 )
struct c {
b(a(T2)) thing;
};
#endif
With THE_ERROR, symptom is:
CFA Version 1.0.0 (debug) CC1 Translator error: stage 2, child failed 11
Note:
See TracTickets
for help on using tickets.
Same as #183. That ticket shows more detail.