Browse Source

[Swf9] made pos argument of flash.Vector.slice optional (fixed issue #1745)

Simon Krajewski 12 years ago
parent
commit
92517cfc91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/flash/Vector.hx

+ 1 - 1
std/flash/Vector.hx

@@ -37,7 +37,7 @@ package flash;
 	function reverse() : Void;
 	function shift() : Null<T>;
 	function unshift( x : T ) : Void;
-	function slice( pos : Int, ?end : Int ) : Vector<T>;
+	function slice( ?pos : Int, ?end : Int ) : Vector<T>;
 	function sort( f : T -> T -> Int ) : Void;
 	function splice( pos : Int, len : Int ) : Vector<T>;
 	function toString() : String;