diff options
Diffstat (limited to '037recipe.cc')
-rw-r--r-- | 037recipe.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/037recipe.cc b/037recipe.cc index 2c5d7d81..23cfb5b2 100644 --- a/037recipe.cc +++ b/037recipe.cc @@ -67,9 +67,9 @@ case CALL: { :(code) bool is_mu_recipe(reagent r) { - if (r.types.empty()) return false; - if (r.types.at(0) == Type_ordinal["recipe"]) return true; - if (r.types.at(0) == Type_ordinal["recipe-ordinal"]) return true; + if (!r.type) return false; + if (r.type->value == Type_ordinal["recipe"]) return true; + if (r.type->value == Type_ordinal["recipe-ordinal"]) return true; // End is_mu_recipe Cases return false; } |