﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
1	Self-referential generic types require forward declarations	Rob Schluntz	pabuhr	"The parser does not recognize generic types until the ending semicolon.
{{{
forall(otype T)
struct List {
  List(int) * x;  // parsing error
};
}}}

The current workaround is to forward declare generic types.
{{{
forall(otype T)
struct List;

forall(otype T)
struct List {
  List(int) * x;  // okay, forward declaration makes List a generic type
};
}}}"	defect	closed	major	cfa-cc	1.0	fixed	parsing generic types forward declaration	
