From 6fea91e3f4c73d21b050ec604633c4d7087f227c Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Fri, 6 Sep 2024 08:44:17 +1000 Subject: [PATCH] Confusion, re issue #584 --- src/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.c b/src/module.c index 8d88fb30..43bbb2e9 100644 --- a/src/module.c +++ b/src/module.c @@ -358,7 +358,7 @@ predicate *create_predicate(module *m, cell *c, bool *created) if (created) *created = false; bool found, evaluable; - if (c->val_off == g_neck_s) + if ((c->val_off == g_neck_s) || is_var(c)) return NULL; builtins *b;