From bb7142dbc422dbb61de8320e6695289835fd29d5 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 27 Nov 2015 10:32:34 -0800 Subject: 2475 - allow addresses to be converted to numbers It's just the other direction we want to avoid. --- 036call_reply.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '036call_reply.cc') 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); -- cgit 1.4.1-2-gfad0