2003/06/08 23:48:03
[org.ibex.core.git] / src / org / xwt / js / JS.java
index c6b4c77..ea117c4 100644 (file)
@@ -156,7 +156,7 @@ public abstract class JS {
     public static class Script extends Function {
        Vector e = null;
        private Script(Vector e) { this.e = e; }
-       public String getSourceName() throws JS.Exn { return ((ByteCodeBlock)e.elementAt(0)).sourceName; }
+       public String getSourceName() throws JS.Exn { return ((ByteCodeBlock)e.elementAt(0)).getSourceName(); }
        public Object _call(JS.Array args) throws JS.Exn, ByteCodeBlock.ControlTransferException {
            Scope rootScope = (Scope)args.elementAt(0);
            for(int i=0; i<e.size(); i++) ((ByteCodeBlock)e.elementAt(i)).eval(rootScope);