Opened 3 years ago

Closed 3 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:



forall( dtype T )
struct a {};

forall( dtype T )
struct b {};

#ifdef THE_ERROR
  forall( dtype T )
  struct c {
    b(a(T)) thing;
  forall( dtype T2 )
  struct c {
    b(a(T2)) thing;

With THE_ERROR, symptom is:

CFA Version 1.0.0 (debug)
CC1 Translator error: stage 2, child failed 11

Change History (1)

comment:1 Changed 3 years ago by mlbrooks

Resolution: duplicate
Status: newclosed

Same as #183. That ticket shows more detail.

Note: See TracTickets for help on using tickets.