I forgot to pass in the "this" required by Function.apply() (or rather, I

was passing in the args as the 'this').
I made the last checkin after compiling to make sure everything was right,
but I forget that compiling doesn't check much in actionscript.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4308 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-08-08 23:25:16 +00:00
parent a56e12089c
commit 85d97f5e25
+2 -1
View File
@@ -46,7 +46,8 @@ public class Log
*/
public static function testing (... params) :void
{
mx.logging.Log.getLogger("testing").debug.apply(params);
var log :ILogger = mx.logging.Log.getLogger("testing");
log.debug.apply(log, params);
}
/**