소스 검색

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

Simon Krajewski 11 년 전
부모
커밋
4fc07a7334
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);