Skip to content

Commit

Permalink
Confusion, re issue #584
Browse files Browse the repository at this point in the history
  • Loading branch information
infradig committed Sep 5, 2024
1 parent 10c9f60 commit 6fea91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6fea91e

Please sign in to comment.