about summary refs log tree commit diff stats
path: root/047check_type_by_name.cc
diff options
context:
space:
mode:
Diffstat (limited to '047check_type_by_name.cc')
-rw-r--r--047check_type_by_name.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/047check_type_by_name.cc b/047check_type_by_name.cc
index 7812044b..780392ad 100644
--- a/047check_type_by_name.cc
+++ b/047check_type_by_name.cc
@@ -54,7 +54,7 @@ void check_type(set<reagent>& known, const reagent& x, const recipe& caller) {
     raise << maybe(caller.name) << "'" << x.name << "' used with multiple types\n" << end();
     return;
   }
-  if (x.type->name == "array") {
+  if (is_mu_array(x)) {
     if (!x.type->right) {
       raise << maybe(caller.name) << "'" << x.name << ": can't be just an array. What is it an array of?\n" << end();
       return;