> Vector.<*> seems to cause abc byte code issues. Compiler seems happier with 
> Vector.<Object>.

What code and what error do you get ?

> What’s the difference?

* stands for: undeterminated type
Object for: Object and therefore its subclasses, so, given 1 instanceof Object 
== true

var vector:* = new Vector.<*>(); // will return a Vector.<*> even though vector 
is typed *
var objects:Vector.<Object> = new Vector.<Object>();

vector.push(1);
vector.push(new Object());

objects.push(1);
objects.push(new Object());

both work.

Frédéric THOMAS


----------------------------------------
> From: [email protected]
> Subject: * vs Object
> Date: Fri, 12 Jun 2015 11:37:37 -0400
> To: [email protected]
>
> Vector.<*> seems to cause abc byte code issues. Compiler seems happier with 
> Vector.<Object>.
> What’s the difference?
>
> Ciao,
> Paul Hardiman
>
>
>
                                          

Reply via email to