diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-27 10:32:34 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-27 10:32:34 -0800 |
commit | bb7142dbc422dbb61de8320e6695289835fd29d5 (patch) | |
tree | 648065c1e366d9a44cd59cbf9f38dabc3470cf08 /036call_reply.cc | |
parent | c193f23217142a1ae365485f28cba9e1fb8aed15 (diff) | |
download | mu-bb7142dbc422dbb61de8320e6695289835fd29d5.tar.gz |
2475 - allow addresses to be converted to numbers
It's just the other direction we want to avoid.
Diffstat (limited to '036call_reply.cc')
-rw-r--r-- | 036call_reply.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/036call_reply.cc b/036call_reply.cc index b453188a..6b881e4f 100644 --- a/036call_reply.cc +++ b/036call_reply.cc @@ -40,7 +40,7 @@ case REPLY: { break; } for (long long int i = 0; i < SIZE(caller_instruction.products); ++i) { - if (!types_match(caller_instruction.products.at(i), reply_inst.ingredients.at(i))) { + if (!types_coercible(caller_instruction.products.at(i), reply_inst.ingredients.at(i))) { raise_error << maybe(callee) << "reply ingredient " << reply_inst.ingredients.at(i).original_string << " can't be saved in " << caller_instruction.products.at(i).original_string << '\n' << end(); reagent lhs = reply_inst.ingredients.at(i); canonize_type(lhs); |