Skip to content

Commit 3ea81db

Browse files
committed
[flash] dodge as3 issue (see #8549)
1 parent 15130a8 commit 3ea81db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/src/unit/issues/Issue8549.hx

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ class Issue8549 extends unit.Test {
55
function test() {
66
// can be used as a Vector type param, for type checking :-/
77
var v = new flash.Vector<String>();
8-
var anyVector:Class<flash.Vector<flash.AnyType>> = flash.Vector.typeReference();
9-
t(Std.is(v, anyVector));
8+
t(Std.is(v, (flash.Vector.typeReference() : Class<flash.Vector<flash.AnyType>>)));
109

1110
// also assignable from/to stuff, similar to Any, just in case...
1211
var v:flash.AnyType = 10;

0 commit comments

Comments
 (0)