about summary refs log tree commit diff stats
path: root/077hash.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-25 07:39:25 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-25 07:46:56 -0800
commitf51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff (patch)
tree4730fc0e0e69e8537686730a7a233d84b54f0266 /077hash.cc
parentb5ab709c53d3f8464e6358678a3c57a1fc6e64b8 (diff)
downloadmu-f51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff.tar.gz
2701 - turn some warnings into errors
I really have only one warning left: when somebody redefines a function.
I think I'm going to just turn that into an error as well and drop the
notion of warnings altogether. Anytime we find something wrong we stop
running the program. This is a place where hygiene is justified.
Diffstat (limited to '077hash.cc')
-rw-r--r--077hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/077hash.cc b/077hash.cc
index d483b235..fc98fd3e 100644
--- a/077hash.cc
+++ b/077hash.cc
@@ -122,7 +122,7 @@ size_t hash_mu_exclusive_container(size_t h, const reagent& r) {
   reagent variant = variant_type(r, tag);
   // todo: move this warning to container definition time
   if (has_property(variant, "ignore-for-hash"))
-    raise << get(Type, r.type->value).name << ": /ignore-for-hash won't work in exclusive containers\n" << end();
+    raise_error << get(Type, r.type->value).name << ": /ignore-for-hash won't work in exclusive containers\n" << end();
   variant.set_value(r.value + /*skip tag*/1);
   h = hash(h, variant);
   return h;