Issue 245: Nested Type GenericStack fails CPP compile
Status:  New
Owner: ----
Reported by TByrne....@gmail.com, Jun 12, 2013
I'm sure you're already aware of this but I couldn't find a ticket and would like to keep track of progress.

When using a generic as a type parameter for a child member, CPP compilation fails (haxe compilation passes with no errors).

A class like this:

package ;
import haxe.ds.GenericStack;

class NestedGeneric<T> {
	private var list:GenericStack<T>;
}


Running:
OSX 10.8
hxcpp 3.0.2
haxe 3.0.0


Aug 22, 2013
Project Member #1 gameh...@gmail.com
Hi,
You can fix this with:

@:generic class NestedGeneric<T>  ...

I think this should either be automatic by the compiler, or a compiler error.  I will talk the compiler team about this one.