Commit b48861aa authored by David Renshaw's avatar David Renshaw

takeFromOtherAnswer -> takeFromOtherQuestion

parent 820eed43
......@@ -2390,11 +2390,11 @@ private:
KJ_IF_MAYBE(response, answer->redirectedResults) {
questionRef->fulfill(kj::mv(*response));
} else {
KJ_FAIL_REQUIRE("`Return.takeFromOtherAnswer` referenced a call that did not "
KJ_FAIL_REQUIRE("`Return.takeFromOtherQuestion` referenced a call that did not "
"use `sendResultsTo.yourself`.") { return; }
}
} else {
KJ_FAIL_REQUIRE("`Return.takeFromOtherAnswer` had invalid answer ID.") { return; }
KJ_FAIL_REQUIRE("`Return.takeFromOtherQuestion` had invalid answer ID.") { return; }
}
break;
......
......@@ -431,7 +431,7 @@ struct Call {
# Don't actually return the results to the sender. Instead, hold on to them and await
# instructions from the sender regarding what to do with them. In particular, the sender
# may subsequently send a `Return` for some other call (which the receiver had previously made
# to the sender) with `takeFromOtherAnswer` set. The results from this call are then used
# to the sender) with `takeFromOtherQuestion` set. The results from this call are then used
# as the results of the other call.
#
# When `yourself` is used, the receiver must still send a `Return` for the call, but sets the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment