浏览代码

make concat parameter optional (= copy)

Nicolas Cannasse 15 年之前
父节点
当前提交
468bfa48b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/flash9/Vector.hx

+ 1 - 1
std/flash9/Vector.hx

@@ -13,7 +13,7 @@ extern class Vector<T> implements ArrayAccess<T> {
 	var fixed : Bool;
 
 	function new( ?length : UInt, ?fixed : Bool ) : Void;
-	function concat( a : Vector<T> ) : Vector<T>;
+	function concat( ?a : Vector<T> ) : Vector<T>;
 	function join( sep : String ) : String;
 	function pop() : Null<T>;
 	function push(x : T) : Int;