commit | c434384a0db654d8f83c67c36c87bacc8ec1f621 | [log] [tgz] |
---|---|---|
author | spoon@google.com <spoon@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri Feb 26 16:28:28 2010 +0000 |
committer | spoon@google.com <spoon@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri Feb 26 16:28:28 2010 +0000 |
tree | a7722715fd77caa2a384643d14f97f5c8478015a | |
parent | c91cef0139db083aadef28ba5a672cc9b46449b9 [diff] |
Insert a missing var, so that an iteration variable is in local scope. git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7624 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/core/client/JavaScriptException.java b/user/src/com/google/gwt/core/client/JavaScriptException.java index 2284d0e..69ee8d2 100644 --- a/user/src/com/google/gwt/core/client/JavaScriptException.java +++ b/user/src/com/google/gwt/core/client/JavaScriptException.java
@@ -84,7 +84,7 @@ private static native String getProperties0(JavaScriptObject e) /*-{ var result = ""; try { - for (prop in e) { + for (var prop in e) { if (prop != "name" && prop != "message" && prop != "toString") { try { result += "\n " + prop + ": " + e[prop];