summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/threads.js b/threads.js
index 469fb7f..9251b95 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2014-July-18';
+modules.threads = '2014-July-21';
var ThreadManager;
var Process;
@@ -2871,7 +2871,8 @@ Context.prototype.continuation = function () {
Context.prototype.copyForContinuation = function () {
var cpy = copy(this),
cur = cpy,
- isReporter = !(this.expression instanceof Array);
+ isReporter = !(this.expression instanceof Array ||
+ isString(this.expression));
if (isReporter) {
cur.prepareContinuationForBinding();
while (cur.parentContext) {
@@ -2886,7 +2887,8 @@ Context.prototype.copyForContinuation = function () {
Context.prototype.copyForContinuationCall = function () {
var cpy = copy(this),
cur = cpy,
- isReporter = !(this.expression instanceof Array);
+ isReporter = !(this.expression instanceof Array ||
+ isString(this.expression));
if (isReporter) {
this.expression = this.expression.fullCopy();
this.inputs = [];