about summary refs log tree commit diff stats
path: root/047check_type_by_name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-29 18:33:46 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-29 18:33:46 -0800
commit07c594ebddbbe3fef8ba25fef19980c3e7e5f164 (patch)
tree88d61e2a19d4b5ff9b8e423b844b61b8cad09f7d /047check_type_by_name.cc
parentc76b0066fb2ae01a28630662cb04a043cc5841cb (diff)
downloadmu-07c594ebddbbe3fef8ba25fef19980c3e7e5f164.tar.gz
3701
Gracefully handle yet another typo.
Diffstat (limited to '047check_type_by_name.cc')
-rw-r--r--047check_type_by_name.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/047check_type_by_name.cc b/047check_type_by_name.cc
index 96a703ce..83b80571 100644
--- a/047check_type_by_name.cc
+++ b/047check_type_by_name.cc
@@ -149,3 +149,11 @@ def main [
   x/space:1 <- copy 35
 ]
 $error: 0
+
+:(scenario transform_handles_empty_reagents)
+% Hide_errors = true;
+def main [
+  add *
+]
++error: illegal name '*'
+# no crash