From 897ac3e42fdc6bcd38e745ea11fa0d328bbc9cf7 Mon Sep 17 00:00:00 2001 From: James Harkins Date: Tue, 10 Jan 2012 11:24:49 +0800 Subject: [PATCH] Bugfix: postProtectedBacktrace tried to print 'args'+values for the varNames --- SCClassLibrary/Common/Core/Error.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCClassLibrary/Common/Core/Error.sc b/SCClassLibrary/Common/Core/Error.sc index cf31681bf..a78b1154f 100644 --- a/SCClassLibrary/Common/Core/Error.sc +++ b/SCClassLibrary/Common/Core/Error.sc @@ -51,7 +51,7 @@ Exception { out << "\t\targ % = %\n".format(name, currentFrame.args[i]); }); def.varNames.do({|name, i| - out << "\t\targ % = %\n".format(name, currentFrame.args[i]); + out << "\t\tvar % = %\n".format(name, currentFrame.vars[i]); }); currentFrame = currentFrame.caller; }); -- 2.11.4.GIT