corrected missing filename in debug output
[org.ibex.core.git] / src / org / ibex / Ibex.java
index 0e04205..ba80775 100644 (file)
@@ -335,7 +335,7 @@ public final class Ibex extends JS.Cloneable {
         public JSScope getStatic() {
             try {
                 // FIXME background?
-                if (t == null) t = Template.buildTemplate(Stream.getInputStream(parent.get(parentkey + ".ixt")), ibex);
+                if (t == null) t = Template.buildTemplate(parentkey + ".ixt", Stream.getInputStream(parent.get(parentkey + ".ixt")), ibex);
                 return t.staticScope;
             } catch (Exception e) {
                 Log.error(this, e);