Browse Source

untyped is EVIL (see #3946)

Dan Korostelev 10 years ago
parent
commit
086113cf0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/cs/Lib.hx

+ 1 - 1
std/cs/Lib.hx

@@ -158,7 +158,7 @@ class Lib
 	**/
 	**/
 	public static function arrayAlloc<T>(size:Int):Array<T>
 	public static function arrayAlloc<T>(size:Int):Array<T>
 	{
 	{
-		return untyped Array.alloc(size);
+		return @:privateAccess Array.alloc(size);
 	}
 	}
 
 
 	/**
 	/**