﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
63	"Generic Struct Inside Declaration Results in ""Too few type arguments"""	pabuhr		"{{{
union fred {
  forall(otype T) struct george {
    int i;
    T j;
  };
};
}}}

Results in:

{{{
CFA Version 1.0.0 (debug)
test.c:5:1 error: Too few type arguments in generic type instance of struct george with body 1
}}}

Notice that this error is on line 5 (the end of the struct definition). Even if you declare a field of type ""george(int)"" afterwards, the same error will occur:

{{{
union fred {
  forall(otype T) struct george {
    int i;
    T j;
  };
  george(int) g;
};
}}}

This will result in the same error.

(posted by Sunjay (s5varma) on behalf of pabuhr)"	defect	closed	minor	cfa-cc	1.0	fixed		
