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:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user