One has to be careful when overriding, or otherwise transferring

args from one varargs method to another, so that the varargs array from
the outer method is not packaged up as one arg to the inner method.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4307 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-08-08 23:22:26 +00:00
parent 902d12e1ac
commit a56e12089c
+2 -2
View File
@@ -44,9 +44,9 @@ public class Log
* A convenience function for quickly and easily inserting printy
* statements during application development.
*/
public static function testing (msg :String, ... params) :void
public static function testing (... params) :void
{
mx.logging.Log.getLogger("testing").debug(msg, params);
mx.logging.Log.getLogger("testing").debug.apply(params);
}
/**