2003/12/21 03:19:03
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:43:03 +0000 (07:43 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:43:03 +0000 (07:43 +0000)
darcs-hash:20040130074303-2ba56-751b9a872baf7088beff8c9bbcb61dd1ab4c8a72.gz

src/org/xwt/js/Interpreter.java

index be5755b..6d3cdb5 100644 (file)
@@ -162,6 +162,7 @@ class Interpreter implements ByteCodes, Tokens {
                     } else if (o instanceof CallMarker) {
                         if (scope instanceof Trap.TrapScope) { // handles return component of a read trap
                             Trap.TrapScope ts = (Trap.TrapScope)scope;
+                            if (retval != null) ts.cascadeHappened = true;
                             if (!ts.cascadeHappened) {
                                 ts.cascadeHappened = true;
                                 Trap t = ts.t.next;