diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-08-30 03:07:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-08-30 03:07:18 -0700 |
commit | b74744cd5851e034a88d4a335b22a372ebb39237 (patch) | |
tree | abfaa2047c44d2d15219f9c1882269194d79c54a /071recipe.cc | |
parent | 0899b237b0923a07ecac16a9adf551921925c5a3 (diff) | |
download | mu-b74744cd5851e034a88d4a335b22a372ebb39237.tar.gz |
3985
Diffstat (limited to '071recipe.cc')
-rw-r--r-- | 071recipe.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/071recipe.cc b/071recipe.cc index 9d77869d..a3a258c7 100644 --- a/071recipe.cc +++ b/071recipe.cc @@ -277,9 +277,7 @@ bool is_mu_recipe(const reagent& r) { if (!r.type) return false; if (r.type->atom) return r.type->name == "recipe-literal"; - if (!r.type->left->atom) return false; - if (r.type->left->name == "recipe") return true; - return false; + return r.type->left->atom && r.type->left->name == "recipe"; } :(scenario copy_typecheck_recipe_variable) |