about summary refs log tree commit diff stats
path: root/046check_type_by_name.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-25 14:13:19 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-25 14:13:19 -0700
commit697d1d121390483881e85f6508e5f2899cf3f137 (patch)
tree5a969c507aa108730fcb396b1c694c8b82f95faf /046check_type_by_name.cc
parenta519b78c18b2da5cf341a231e7b5c5181b694f14 (diff)
downloadmu-697d1d121390483881e85f6508e5f2899cf3f137.tar.gz
4275
Fix CI.
Diffstat (limited to '046check_type_by_name.cc')
-rw-r--r--046check_type_by_name.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/046check_type_by_name.cc b/046check_type_by_name.cc
index b960799a..ba40f521 100644
--- a/046check_type_by_name.cc
+++ b/046check_type_by_name.cc
@@ -87,6 +87,7 @@ void check_type(set<reagent, name_lt>& known_types, const reagent& x, const reci
   }
   if (!types_strictly_match(known_types.find(x)->type, x.type)) {
     raise << maybe(caller.name) << "'" << x.name << "' used with multiple types\n" << end();
+    raise << "  " << to_string(known_types.find(x)->type) << " vs " << to_string(x.type) << '\n' << end();
     return;
   }
   if (is_mu_array(x)) {