Explorar o código

flash.Vector is only available on flash 10+ (closes #3195)

Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
4fc07a7334
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/haxe/ds/Vector.hx

+ 1 - 1
std/haxe/ds/Vector.hx

@@ -54,7 +54,7 @@ abstract Vector<T>(VectorData<T>) {
 		If `length` is less than or equal to 0, the result is unspecified.
 	**/
 	public inline function new(length:Int) {
-		#if flash9
+		#if flash10
 			this = new flash.Vector<T>(length, true);
 		#elseif neko
 			this = untyped __dollar__amake(length);