|
@@ -5,8 +5,7 @@ class Issue8549 extends unit.Test {
|
|
function test() {
|
|
function test() {
|
|
// can be used as a Vector type param, for type checking :-/
|
|
// can be used as a Vector type param, for type checking :-/
|
|
var v = new flash.Vector<String>();
|
|
var v = new flash.Vector<String>();
|
|
- var anyVector:Class<flash.Vector<flash.AnyType>> = flash.Vector.typeReference();
|
|
|
|
- t(Std.is(v, anyVector));
|
|
|
|
|
|
+ t(Std.is(v, (flash.Vector.typeReference() : Class<flash.Vector<flash.AnyType>>)));
|
|
|
|
|
|
// also assignable from/to stuff, similar to Any, just in case...
|
|
// also assignable from/to stuff, similar to Any, just in case...
|
|
var v:flash.AnyType = 10;
|
|
var v:flash.AnyType = 10;
|