We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15130a8 commit 3ea81dbCopy full SHA for 3ea81db
tests/unit/src/unit/issues/Issue8549.hx
@@ -5,8 +5,7 @@ class Issue8549 extends unit.Test {
5
function test() {
6
// can be used as a Vector type param, for type checking :-/
7
var v = new flash.Vector<String>();
8
- var anyVector:Class<flash.Vector<flash.AnyType>> = flash.Vector.typeReference();
9
- t(Std.is(v, anyVector));
+ t(Std.is(v, (flash.Vector.typeReference() : Class<flash.Vector<flash.AnyType>>)));
10
11
// also assignable from/to stuff, similar to Any, just in case...
12
var v:flash.AnyType = 10;
0 commit comments