brian's patch for fullpath backtraces
authordavid <david@zentus.com>
Mon, 5 Apr 2004 01:51:59 +0000 (01:51 +0000)
committerdavid <david@zentus.com>
Mon, 5 Apr 2004 01:51:59 +0000 (01:51 +0000)
darcs-hash:20040405015159-ac46f-47ed1d15acbb7e053b4bde2cda8cb6e7f81b8e04.gz

src/org/ibex/core/Ibex.java

index 011b9bb..2b8c7aa 100644 (file)
@@ -356,7 +356,10 @@ public final class Ibex extends JS.Cloneable {
         }
         public JSScope getStatic() {
             try {
-                if (t == null) t = Template.buildTemplate(parentkey + ".t", parent.get(parentkey + ".t"), ibex);
+                if (t == null) {
+                    JS res = (JS) parent.get(parentkey + ".t");
+                    t = Template.buildTemplate(res.unclone().toString(), res, ibex);
+                }
                 return t.staticScope;
             } catch (Exception e) {
                 Log.error(this, e);